ReCaptcha, Great Tool… Poor Documentation…


Warning: Illegal string offset 'wp_pinterest_pin_it_button_layout' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 186

Warning: Illegal string offset 'wp_pinterest_pin_it_button_single_display' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 187

Warning: Illegal string offset 'wp_pinterest_pin_it_button_page_display' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 188

Warning: Illegal string offset 'wp_pinterest_pin_it_button_excerpt_display' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 189

Warning: Illegal string offset 'wp_pinterest_username' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 206

Warning: Illegal string offset 'wp_pinterest_follow_button_layout' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 207

Warning: Illegal string offset 'wp_pinterest_follow_button_single_display' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 208

Warning: Illegal string offset 'wp_pinterest_follow_button_page_display' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 209

Warning: Illegal string offset 'wp_pinterest_follow_button_excerpt_display' in /home/jingles/public_html/wp-content/plugins/wp-pinterest/includes/functions.php on line 210

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.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>