Virtual Brain Online Logo

Bookmark: Root \ CAPTCHAv2 \ CAPTCHAv2 a question/answer based SPAM protector

CAPTCHAv2 a question/answer based SPAM protector

Last Updated: 2011-01-01

What is CAPTCHAv2 and what does question/answer based mean?
I doubt that I am the only one who gets angry at the latest generation of image based CAPTCHAs. They are designed to make it hard for SPAM bots to read the image but they have now made it almost impossible for humans to decipher them as well.
Here is an example of a CAPTCHA generated by

Or here is another generated by the Simple Machines forum (contains 5 letters)

So I started to design CAPTCHv2, a PHP class written to protect any website form SPAM bots attempting to abuse your website by submitting their garbage to your forms. So instead of presenting you a obfuscated/impossible to read image, my protection will ask the user questions.
The question:
Please remove the letters X and Y from the following word: cXaYXpiXXtalYisXm

Questions can also be tailored to your audience by asking questions only people with knowledge about a specific subject can answer. But be careful not to make the questions too hard or you might deny newcomers access to your resource.

The downside is that the website operator needs to invest a little bit of time creating questions first but this should be a small price to pay for happy customers and to make things easy, you get a management interface.

Describing CAPTCHAv2 in detail will take a bit so I split the information over multiple pages.

Mods for existing Projects


Title: works good
Posted By: Tom On:
Running: Mozilla/5.0 (X11; U; Linux armv7l; de-DE; rv:1.9.2a1pre) Gecko/20091127 Firefox/3.5 Maemo Browser 1.5.6 RX-51 N900
great stuff! I started using this to protect a contact form and it works really good.


Add Your Comment:

Note: All posts require administrator approval. Please allow 24 hours for message approval.

Plain text only, less then 65 000 characters.

keyboard cup solar sausage stone .... Which one of these words describes something you can eat?

Please answer the question above and type the answer into the text box below.