How to generate random text for user to enter on website?

Before a user submits contact information on my web site, i would like for them to type the "text in the box". My question is, how do I generate the text, and verify what the user typed in, is correct?

See example below:



Are you looking to re-invent the wheel or will you consider using the many captcha plugins available out there?

Type captcha into a search and find links like this one.

http://www.snaphost.com/captcha/



Are you looking to re-invent the wheel or will you consider using the many captcha plugins available out there?

Type captcha into a search and find links like this one.

http://www.snaphost.com/captcha/



These are called CAPTCHAs and, if possible, you should avoid using them and rely on some other method to validate submissions.

As far as building them, there are two good articles on EE that cover this:
http://www.experts-exchange.com/Programming/Languages/Scripting/PHP/A_9849-Making-CAPTCHA-Friendlier-with-PHP-Image-Manipulation.html

http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_2126-KAFKA-A-Simple-CAPTCHA-Implementation.html

Or you could sign up for reCAPTCHA:
https://www.google.com/recaptcha/intro/index.html



Thank you for helping me. I did not know they were called "captcha". The links you provided were very helpful.





Share this

Related Posts

There was an error in this gadget