Securing PHP Forms Using Captcha

by Justin on September 18, 2008

“Captcha” is when a site uses an image like the above image and requires that the user verifies it. The main use for it is bot protection. Malicious bots that will try to spam or get around normal security built in around mail functions. I needed a PHP captcha script and I found this PHP captcha script. It is super simple to setup and use. I have tested it out and it does not allow the submission if the captcha input does not match the letters/numbers in the dynamically generated image. I will definitely be using this code in more projects to stop spam sign ups.

Leave a Comment

Previous post:

Next post: