Skip to Site Navigation

In the post A More Accessible Alternative to Graphical Capchas, I discussed a method of using a question/answer system for determining whether one is dealing with a human visitor or a naughty robot. The example was given in Perl, but I said that it would be easy to adapt for PHP. This wasn't entirely correct, as PHP has a different approach to arrays from Perl, but I have now done it.

I have posted an example implementation on this site, which also provides links to download the PHP source files.

Notes on the routine that does all the work are interspersed with the code in the file textcaptcha.php

Published Wednesday, 3rd May 2006, last updated on Wednesday, 3rd May 2006.

Comments are closed for this post; if you have something you want to share, pleaseuse the contact page.

Categories for PHP Text Captcha: