Any website Google reCAPTCHA tutorial + example jQuery,PHP

Anti-SPAM web form security.

Since we ALL hate SPAM, erm... mostly all, - as we see - Google came with a fantastic tool with their ow implementation of CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart).

You can easily implement this functionality for FREE in your webcode. 

1. First register site & get your keys

Go to and set-up a new recaptcha site. All you need to do is to define: Label, Domain and E-mail for a site.
Next, you will the get a SITE_KEY and a SECRET_KEY.

2. Include google javascript in your site code 

Mostly on a template/static-page where your form exists.

3. Put a reCAPTCHA container inside your form

for example (used in future examples):

4. jQuery validation then pass to sendmail.php

5. Example sendmail.php