ReCaptcha, Great Tool… Poor Documentation…

So I needed to install a Captcha into a static HTML web form, simple right? Not really…

The first step was researching and finding the best tool, this was easy, I went with the most popular… ReCaptcha. So I started the integration to only find the worst documentation. Although the tool is great, lots of documentation, there was nothing on how to do the most basic integration that 90% of users will do. How do you integrate it into a HTML web form?

So I tried on my own, for hours, even searched the Internet to find the worst; many people were having the same issue as I with no answer available. So how do you integrate the tool into a HTML web form while using the HTML web form action command? Glad I could find the answer in a few hours, hopefully this will save you from that…

Unfortunately I do not have the time to list a whole tutorial, however here is a link to the site that helped me and a quick step by step.

The site that helped, THANK YOU!!!: http://inko9nito.wordpress.com/2007/12/12/installing-recaptcha-with-php/

The step by step:
(Assuming you are using a HTML form, with a PHP form processor)

1. Set you .htaccess file to allow PHP in a HTML document by adding the following command to the file:
AddType application/x-httpd-php .html
2. Add code into the HTML form to display the CAPTCHA.
3. Add code into (IMPORTANT) the beginning of the form processor to determine if an error with the CAPTCHA or to submit the form.
a. If form is correct, do nothing and form processor code will submit form.
b. If incorrect, code in beginning of form processor will either send you to an error page or back to form with an error displayed in the page.

That is the concept, and the link I provided should be able to explain how to do this whole process.

Tags: , ,
  1. About Jason Fisch


       Jason Fisch is a full-time professional firefighter and a owner of a web developer/ computer consultant firm located in the Hudson Valley Region of New York.


       He specializes in web development that is web standards-based as well as accessible and writes about that and more here.


       More About Jason >>>


  2. Blog Stuff


    1. Recent Posts

      1. ReCaptcha, Great Tool… Poor Documentation…
      2. HUB One Years Old!
      3. Back On….
      4. NICE VACATION!!!
      5. From the Internet to the Paper
      6. Centralized Storage
      7. Can’t We All Just Get Along?
      8. Never Trust a Truss, Bad Week For Our Safety Stand Down
      9. We Are Famous! Our area host the “Akon Kid Toss” concert
      10. A Great Way To Get Your RSS Feed On Your Static Website



    2. Blog Tags


    3. Search Website


    4. Subscribe to this Blog

       Subscribe in a reader

      Add to Google

      Subscribe in NewsGator Online


  3. Blog Links


    1. Blogroll


    2. Blog Related

      Web Design Blogs - Blog Top Sites

      Top Web design blogs

      Blog Rankings

    3. Social Networking/ Web 2.0



  4. General Links



  5. Ads ( Ad Disclaimer/ Info )


    • Fisch Internet Solutions - Hudson Valley's IT Firm