Answer the question
In order to leave comments, you need to log in
How to check recapthc in PHP server?
I put google recaptcha.
On the client side, everything started. I connected a js script with api, inserted a div with recaptcha inside the form.
Here is what Google writes about the server side:
When users submit a form with built-in reCAPTCHA validation, you get the "g-recaptcha-response" string along with other data. To find out if the user passed the verification, send a POST request with the following parameters:
secret ( key )
response ( Value "g-recaptcha-response" )
Answer the question
In order to leave comments, you need to log in
Here, everything is detailed
www.9lessons.info/2014/12/google-new-recaptcha-usi...
Check that the form submits post data
Open the panel, make sure js has inserted the field
<textarea id="g-recaptcha-response" name="g-recaptcha-response" class="g-recaptcha-response" style="width: 250px; height: 40px; border: 1px solid #c1c1c1; margin: 10px 25px; padding: 0px; resize: none; display: none; "></textarea>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question