These are the following steps for integrate Google Recaptcha In Your Website Form
Note:
Before add recaptcha your website you must be login with
gmail Account(means:abc223@gmail.com) then follow these steps:
Type recaptcha in Google then enter.
Click on this link https://www.google.com/recaptcha
Click on Right Corner of webpages My reCAPTCHA
(a) add label what you want like demo,captcha,etc..
(b) add domain name like www.basantmallick.com
for test on local server just add localhost
Now accept and register.
Now You see a new page where you see
Site Key and secret key
Here you see client side integration
just copy the Script and paste in between <head></head>
<html> <head> <title>reCAPTCHA demo: Simple page</title> <script src="https://www.google.com/recaptcha/api.js" async defer></script> </head> <body> <form action="?" method="POST"> <div class="g-recaptcha" data-sitekey="your_site_key"></div> <br/> <input type="submit" value="Submit"> </form> </body> </html>
You also See <div> section, copy them and put before your form input submit button.
You see the Server side Intergation
Secret Key.
Now open your any code editor like sublime,brackets, Netbeans, Notepad, etc..
Now you just replace these key with your Secret Key in $secretkey.
after submit your form successful message(Thanks for posting comment.) shows.
Another wise repeat step what I mention above Carefully.
Learn how to efficiently set up auto-increment columns in PostgreSQL with this step-by-step guide. From…
Just use below code and modified according to your need. Note: this is very useful…