By jedi58@gmail.com
via newearthonline.co.uk
Published: Jan 07 2007 / 20:25
SPAM, it's not just a type of meat featured in Monty Python, it is also one of the most annoying plagues of modern day life. If you've got an email address then chances are you know what it's like to get spammed, and the same goes for Forums too. This guide uses PHP and the GD Image Library to show one possible method of stopping "Spam-bots" from submitting junk on your site's forms.
Tweet
SaveShareSend
Tags: how-to, methodology, php, web design



Comments
coboldinosaur replied ago:
The editor of that page did a crappy job. It lowers the value of an otherwise good article. I am voting for it reluctantly, but poor editing may cost you votes and hurt the performance of the links you post on sites like this.
You should have an editor looking at your articles before you post them, or use a site to publish your work where they can give you editing support.
samus replied ago:
My PHP isn't the greatest but isn't this just a low grade captcha that doesn't do any kind of image distortion? I don't think there is much value in that since any simple OCR algorithm will defeat it in seconds. Also in order to save cpu time it would be a better idea to pre-generate several hundred (thousand depending on volume) of the images and just serve up the files. Less work to process a request means higher throughput.
pcx99 replied ago:
Ironically, so many sites use captchas that one that uses a low grade version isn't likely to be in danger of being ocr'd unless it's a major site.
Voters For This Link (5)
Voters Against This Link (0)