Re: Adding reCAPTCHA to form using PHP

From: Date: Mon, 19 Apr 2010 18:10:58 +0000
Subject: Re: Adding reCAPTCHA to form using PHP
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-304235@lists.php.net to get a copy of this message
On Mon, Apr 19, 2010 at 12:50 PM, tedd <tedd.sperling@gmail.com> wrote: > At 12:21 PM -0400 4/19/10, Ernie Kemp wrote: >> >> Need help with reCAPTCHA. Never installed it before. >> >> When Submit is clicked the "quoterequest-redirect.php" is run but I think >> it >> would be better to test the reCAPTCHA before the >> "quoterequest-redirect.php" >> program has been run. >> >> I check the CAPTCHA in "quoterequest-redirect.php", it displays a invalid >> message if invalid but the user has to tab back to fill in the CAPTCHA >> again. >> >> >> >> The reCAPTCHA show correctly but I need some help/hints/tips here. > > Ernie : > > There's nothing complicated here. You don't need to get public and private > keys or other such complications. A CAPTCHA is as simple as: > > What is 2 + 2? > What is the color of an orange? > > Answer correctly and you pass. If not, then you don't. > > The purpose of a CAPTCHA is simply to keep bots out and allow humans to > pass. If you base your CAPTCHA on a strange graphic, then you keep visually > impaired users out. That's not good. > > Here's an assortment of CAPTCHA's, but I think the Question CAPTCHA is the > best. > > http://webbytedd.com/aa/assorted-captcha/ > > > Cheers, > > tedd > -- > ------- > http://sperling.com >  http://ancientstones.com >  http://earthstones.com > Yes, but I assumed he meant reCAPTCA, not simply CAPTCHA. The former is a specific implementation of the latter. http://recaptcha.net/ Andrew

« previous php.general (#304235) next »