CAPTCHA with google perfume!, more sharp

i have seen some robots try to login my wordpress. now i deside to use google CAPTCHA system instead of makeing a CAPTCHA by my self , so i can save my time 😀

now i want to tell you guys how to use google new CAPTCHA system in your web pages , here you can see the final login form page that we make in this tutorial , user name for this example page is mahdi and password is 123456789 you can test it now.

  1. for using google CAPTCHA , at first you must register your domain here.
  2. next step we need a form to add google captcha .
  3. we need to check form data and captcha data when ever form submits.

now we do the steps that i have said 😀 lets go:

we register the domain using google captcha register page then we make our form using html :

next step we check user and password using php :

the next step we make a php file named getCurlData.php and we get captcha data using Curl and php:

and the final step is css styles:

now we have a login form + google captcha 😀 you can download the source files at the end of this post.

those guys who use wordpress , can use wordpress captcha plugin that supports google captcha.

notice: in the source file dont forget to modify secret vriable and data-secret attribute.

if you have any questions , ask me with the below comment’s form. 🙂

Google ReCaptcha
Google ReCaptcha
Google_reCaptcha(2).zip
Version: 1.0
2.5 KiB
7 Downloads
اطلاعات بیشتر
به اشتراک بگذارید:Email this to someoneShare on FacebookTweet about this on TwitterShare on Google+Digg thisShare on LinkedInPin on PinterestShare on StumbleUponFlattr the authorShare on RedditBuffer this pageShare on TumblrPrint this pageShare on YummlyShare on VK
  1. Thanks for another fantastic post. Where else could anybody get that type of information in such a perfect way of writing? I’ve a presentation next week, and I am on the look for such information.

می‌خواهید دیدگاهتان را بیان کنید؟