项目作者: nitishk879

项目描述 :
How to add google recaptcha to your contact-us form.
高级语言: PHP
项目地址: git://github.com/nitishk879/ReCaptcha.git
创建时间: 2017-09-18T06:13:53Z
项目社区:https://github.com/nitishk879/ReCaptcha

开源协议:

下载


ReCaptcha

You need to Go to your google account
https://www.google.com/recaptcha/intro/android.html
Register your domain or list all your previous registered recaptcha domails
https://www.google.com/recaptcha/admin#list

When your users submit the form where you integrated reCAPTCHA, you’ll get as part of the payload a string with the name “g-recaptcha-response”. In order to check whether Google has verified that user, send a POST request with these parameters:
URL: https://www.google.com/recaptcha/api/siteverify
secret (required) your-registerd-secret-key-by-google
response (required) The value of ‘g-recaptcha-response’.
remoteip The end user’s ip address.