Jump to content

Recommended Posts

You'll need to add validation for data entry in the form, I didn't try 'hacking' it but I can just enter whatever I want in there as many times as I want.

 

For example, you say to include http:// in the URL but you can just delete that out of the input box and it will still submit. If I wanted to advertise my site example.com I can also just keep entering that in the box 100s of times (or even bots could do it) so your site will just be flooded with the same site, I'd suggest adding CAPTCHA for that. Try searching for sanatizing input in PHP.

You'll need to add validation for data entry in the form, I didn't try 'hacking' it but I can just enter whatever I want in there as many times as I want.

 

For example, you say to include http:// in the URL but you can just delete that out of the input box and it will still submit. If I wanted to advertise my site example.com I can also just keep entering that in the box 100s of times (or even bots could do it) so your site will just be flooded with the same site, I'd suggest adding CAPTCHA for that. Try searching for sanatizing input in PHP.

 

Yeah, thanks...

 

I forgot to make the URL checked and make it a unique field...  :)

I know about CAPTCHA - i only spent like 1 hour on this code this morning  xD

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.