Click here to Skip to main content
15,881,803 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I'm embedding recaptcha v3 in my website so .

I have a page XYZ.php with login bootstrap modal.

Now Standard Google recaptcha code has two parts
1. javascript code containing secret key
2. PHP code to show alert wheather captcha is failed or not

Now we are using AJAX in login modal to send data to ABC.php so In which files should I place javascript code and php code respectively.

What I have tried:

Tried pasting JS code in XYZ.php and php code in ABC.php but how to conclude that its working fine bcz recaptch v3 does not show any entering captcha platform.
Posted
Comments
Sandeep Mewara 13-Oct-20 8:46am    
Did you look at: https://developers.google.com/recaptcha/docs/v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900