https://www.theeggeadventure.com/wikimedia/wikimedia/index.php?title=ReCAPTCHA&feed=atom&action=historyReCAPTCHA - Revision history2024-03-29T11:23:52ZRevision history for this page on the wikiMediaWiki 1.41.0https://www.theeggeadventure.com/wikimedia/wikimedia/index.php?title=ReCAPTCHA&diff=1750&oldid=prevEgge: New page: [http://recaptcha.net/ reCAPTCHA] is a great web service, which allows you to add [http://en.wikipedia.org/wiki/CAPTCHA CAPTCHA]s to your site. What makes reCAPTCHA interesting is: * It u...2007-10-04T12:33:45Z<p>New page: [http://recaptcha.net/ reCAPTCHA] is a great web service, which allows you to add [http://en.wikipedia.org/wiki/CAPTCHA CAPTCHA]s to your site. What makes reCAPTCHA interesting is: * It u...</p>
<p><b>New page</b></p><div>[http://recaptcha.net/ reCAPTCHA] is a great web service, which allows you to add [http://en.wikipedia.org/wiki/CAPTCHA CAPTCHA]s to your site. What makes reCAPTCHA interesting is:<br />
* It uses CAPTCHA's to help digitize books<br />
* It's a web service, meaning your host doesn't have to generate the image.<br />
* It also has a CAPTCHA service for obfuscating email addresses.<br />
* It's accessible. Most CAPTCHA's don't have an audio version for the visually impaired<br />
* It allows you to get a different image without reloading the page.<br />
<br />
I think this is a great project, and I've been keen to get it working on my site. I tried to get it to work with my [http://www.theeggeadventure.com/gallery/main.php photo gallery] about a month ago, but I failed. I was trying to hard to make it a configurable plugin which others could use. Last night, though, I was successful in adding it to my [http://www.theeggeadventure.com/GuestBook/ guest book].<br />
<br />
Previously, I had found and integrated a PHP CAPTCHA into my guest book, to help prevent the spam bots. Unfortunately, at some point, it [PHP_Tips#Shared_Hosting stopped working]. The fonts that I was using disappeared from the directory on the shared host. I should have copied them locally, but now it's too late.<br />
<br />
reCAPTCHA has a great little [http://recaptcha.net/plugins/php/ PHP library] which you can download and reference from your PHP application. <br />
<br />
Downloading it was as easy as ssh'ing into my web host and running these commands:<br />
<geshi lang="bash><br />
$ curl http://recaptcha.googlecode.com/files/recaptcha-php-1.9.zip > recaptcha.zip<br />
$ unzip recaptcha.zip<br />
$ cp recaptcha-php-1.9/recaptchalib.php .<br />
</geshi><br />
<br />
I was able to modify and remove my old CAPTCHA system and replace it with reCAPTCHA in about 90 minutes. Most of this time was spent searching where in the code I needed to make the changes. Adding the reCAPTCHA code was drop dead simple. I have it mostly working now. The only problem is it doesn't save values when you press 'back' in your browser. I don't want to spend the time to fix up the guest book to do this. <br />
<br />
Next, I added the email obfuscater. This was much simpler than the CAPTCHA bit, and took me about a half hour from start to finish. I hope more web applications add support for reCAPTCHA, as it's much better than most system which you find, and it's doing some good!<br />
<br />
[[Image:EmailCAPTCHA.png]]<br />
<br />
[[Category:PHP]]</div>Egge