All Questions
165
questions
0
votes
0
answers
43
views
Recaptcha v2 implementation with PHP
Consider the following form:
<form action="https://bookings.com/book?venue_id=5e421312312" method="POST" role="form">
<input name="...
1
vote
2
answers
986
views
Add v3 Recaptcha to a custom Wordpress registration form
I have a custom wordpress registration form, that works well. However, I am really struggling to get a recaptcha in to prevent spam. I'd prefer a v3, but would be ok with a v2 if it's easier to ...
0
votes
0
answers
560
views
detect and disable auto clicker apps
we have an online game ,that some people made our life so difficult by cheating with the auto clickers apps
i think the apps are made with c++ or javascript , they save the settings in it and the app ...
0
votes
1
answer
1k
views
I'm trying to add Recaptcha V3 to my website but I'm getting the error invalid-input-response
I'm just desperately trying to make it work... Been sitting on this for a good 4 hours
I tried many many solutions from google, I have no idea what to do now so posting here is my last resort.
I also ...
2
votes
0
answers
578
views
How do I display reCAPTCHA in modals with different id?
This is my code:
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<?php
$result = $DBConnect->query("SELECT id FROM table");
...
1
vote
0
answers
826
views
Form submission and recaptcha not working on submit
I am trying to implement a reCAPTCHA on my html form, and I followed the steps outlined in Google documentation but the button isn't working now when you click 'Submit".
The reCAPTCHA doesn't ...
0
votes
0
answers
26
views
reCAPTCHA said: incorrect-captcha-sol problem with PHP [duplicate]
I have simple code in PHP and trying to check my form with reCaptcha.
I already tried v3 or v2 and the problem is the same.
All links are correct, I have no table in form, and keys from console admin ...
0
votes
2
answers
413
views
PHP Mailer 6 Contact Form sends message and attachments, but reCaptcha V2 is ignored
I was hoping I could solve this myself, but nothing I've tried works.
I've managed to cobble together a contact form using PHPMailer with the option of adding multiple attachments which works ...
0
votes
0
answers
930
views
How to verify the reCAPTCHA (v3) request on server side?
As a first step to avoid receiving spam I managed to implement reCAPTCHA (v3) on client side (see Javascript and HTML-form). Without result yet because I still do receive spam. After reading several ...
-1
votes
1
answer
619
views
Adding A Button To Close A Tab In HTML/PHP
I am trying to add a button to my HMTL form that will allow me to close the tab that is being opened in the web browser for google recaptcha v3. Not only would I like to close the tab that was opened ...
0
votes
1
answer
2k
views
Google reCAPTCHA V2 checkbox HTML and PHP Contact Form Code
I have used this site to find answers in the past and have decided to create an account, so I can share and help others. This post is not a question, but rather to share the code I have been using for ...
1
vote
0
answers
57
views
Recaptcha for existing form ... the php part is giving me problems
Am not really a coder, but understand a little... Bought a web template with a contact form. It sends the form to a php for validation, which in turn sends it to me in an email. I can get the ...
2
votes
1
answer
117
views
Allow form to send POST request but prevent page from reloading - Javascript
I am working on a signup form with an integrated v2 reCAPTCHA and I ran into the issue that when submitting the form which includes the reCAPTCHA, it is reloading the page. I have a php function to ...
0
votes
0
answers
24
views
Google reCaptcha v2 in HTML/PHP always shows failed Captcha [duplicate]
I have a problem with my Google recaptcha v2.
PHP Code:
<?php
function reCaptcha($recaptcha){
$secret = "SECRET KEY";
$ip = $_SERVER['REMOTE_ADDR'];
$postvars = array("...
0
votes
0
answers
669
views
How can I validate google recaptcha on the server side?
I have a contact form and I'm trying to validate google's Recaptcha on the server-side. I'm using reCAPTCHA version 2. My HTML form looks like this:
<div class="container-contact100">
...
1
vote
1
answer
639
views
How to run recaptcha 2 in html and php?
index html:
<!DOCTYPE html>
<html>
<head>
</head>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<body>
<form method=...
0
votes
0
answers
139
views
Display Google reCAPTCHA response on same page
I'm building a site with a contact form, I want to be able to display the Google reCAPTCHA response on the same page (e.g. "Message sent successfully" or "Invalid reCAPTCHA. Try again.&...
0
votes
1
answer
507
views
Google ReCaptcha Always Return False after domain transfer
I moved my website and domain to a new hoster and since then Google Recaptcha has stopped working.
I haven't changed anything in the code and the domain has also remained the same.
This is my PHP code ...
0
votes
0
answers
183
views
reCaptcha v2 and PHP in email form
So I have found this solution in this forum:
reCAPTCHA and PHP to send an Email Form
I have added the script in my header and added my keys in the email form and in my PHP code as specified in the ...
0
votes
0
answers
51
views
Domain Format for Add-on Domain on reCAPTCHA v3
I'm currently trying to integrate reCAPTCHA v3 to my newly created site's contact form.
The problem is that it always returns 'failed' response even though the input data were valid.
I tried add ...
0
votes
1
answer
43
views
How to make recapcha v2 a required field in html form?
I'm having issues with adding a recaptcha to my html form.
the widget is displayed and works properly, the problem is the send button is working even when the recaptcha isn't validated. Can someone ...
2
votes
2
answers
9k
views
extract reCaptcha from web page to be completed externally via cURL and then return results to view page
I am creating a web scraper for personal use that scrape car dealership sites based on my personal input but several of the sites that I attempting to collect data from a blocked by a redirected ...
0
votes
1
answer
613
views
reCAPTCHA V2 Failing On Server Side Validation
My reCaptcha V2 "I'm not a robot" is failing on the server side.
It seems to be failing at:
post_captcha($_POST['g-recaptcha-response'])
Both the public & pvt key are correct and on the correct ...
1
vote
2
answers
5k
views
Google reCAPTCHA v2 not displaying on page
I am trying to add Google reCAPTCHA v2 to my form but it is not displaying.
I have the script
<script src="//www.google.com/recaptcha/api.js"></script>
at the end of the head ...
1
vote
1
answer
719
views
How do I place a Google recaptcha in my website successfully?
I am having real trouble putting a Google recaptcha into my website. There seems to be no easy to follow tutorial. I am brand new to JavaScript, but am building a website which receives a huge amount ...
-1
votes
1
answer
73
views
How to get reCAPTCHA data with Ajax
I would like to get "human" or "bot" with Ajax based on reCAPTCHA score, but it doesn't work... Could you give me any advice? You don't need to think about validation at this point.
html
<form id=...
2
votes
2
answers
52
views
stumped with recaptcha verification step
I hate asking for help.. but I've spent I dunno how many hours trying to figure out how to implement the verification step for this form with recaptcha.
I understand the I need define the private key ...
0
votes
0
answers
51
views
HTML form showing the php code after submit
I have a simple html form what I use in all of my websites in different servers.
In a new server I found a problem I cant solve by my own.
The problem is that after hit the submit button php code ...
0
votes
1
answer
91
views
Setting up reCAPTCHA in HTML Contact Form
I have a Contact Form in my website where I have included a reCAPTCHA. The client-side is working; however, the server-side has an issue. The server-side integration page of the Google reCAPTCHA ...
1
vote
0
answers
57
views
verifying Google reCAPTCHA v2
I'm trying to develop a contact-form for my wifes website.
I found this code that works very well and does what it needs to do (Send a copy to the sender of the message)
The only thing I want to ad ...
0
votes
1
answer
43
views
My form always tells users there's a problem
I'm a total PHP idiot so I'm re-using some PHP code that works in another site of mine to get an email when visitors use an HTML form. Although all the HTML and PHP code looks properly matched to me, ...
0
votes
0
answers
122
views
(PHP) Stuck making submission form anti spam
So I am almost done creating this anti spam google recaptcha v3 form. I get failure to the end. could you see what is the problem? I dont use this to send data to DB but to my email. let me know if ...
0
votes
1
answer
950
views
My Google recaptcha verification is not working
I am using this code to work recaptcha services. But it tells me you are a bot.
I tried php server side integration but it does not work.
Here is html
<form id="contact-form" name="contact-form" ...
-1
votes
1
answer
109
views
problems using google invisible recaptcha icon
I have a form in my codeigniter project using google's invisible recaptcha like so:
HTML
<html>
<head>
<script src="https://www.google.com/recaptcha/api.js" async defer></...
1
vote
1
answer
2k
views
How to add a recaptcha in a custom theme on wordpress
I am unable to put a recaptcha v2 I am not a robot on my wordpress site, it has a custom theme MedicalPress from Redux. There is already a system to put in recaptcha , but it is not functional.
This ...
0
votes
3
answers
830
views
recaptcha for my login in php not working
I have a website which is like the url http://molugu.com/demo/vendor/register.php
My register.php is below:
<?php
require_once('connect.php');
include('config.php');
include('recaptchalib....
0
votes
1
answer
211
views
How to call alert function inside HTML from a PHP file
I am trying to add reCaptcha v2 to an HTML form. When the submit button is clicked, a PHP file is invoked which calls the reCaptcha API.
If the reCaptcha is unsuccessful, I want to call the alert ...
0
votes
1
answer
34
views
Integrating and validating invisible recaptcha
I want to add recaptcha to a form, I registered for it and got the keys.
<form>
<input type="text" name="name" />
<input type="email" name="email" />
<textarea name="...
0
votes
1
answer
267
views
How to implement reCaptcha v3 by Google on a newsletter form?
I'm having an issue with reCaptcha V3. The issue is that I'm struggling to communicate with the server when it comes to recording the analytics and the logic of the newsletter itself. I'm trying to ...
1
vote
0
answers
134
views
php curl_init() not working in contact form with recaptcha
I put contact form in one website in last year. It's working fine till 19th April of this year. I didn't change any version. My php details are
PHP version: 7.2.7
Now I am facing this error
PHP ...
0
votes
0
answers
73
views
Google ReCaptcha is not loading
I am trying to integrate google recaptcha, but it is not loading the req iframe on browser and showing nothing.
My contact.html:
<form ng-submit="processContactForm(contactForm.$valid)" name="...
0
votes
1
answer
221
views
verifying recaptcha in php
I have a simple .html contact form with recaptcha added to it and I have a correspond .php file set up to send the populated form fields information back to me via my email. After the form has been ...
1
vote
2
answers
2k
views
Google Recaptcha v2 With email form, gives http 500 Error
Using an html form for a "contact us". This passes name, email, & message to a .php script and it works well. Add the Google recaptua v2 to this form gives a http 500 Error. This post and the code ...
1
vote
1
answer
2k
views
How to add reCAPTCHA v2 to an existing form using PHP?
I want to integrate a recaptcha to my functioning contact form using PHP. The PHP form is already set, so I figured I should go that route. I believe
I have all necessary variables and parameters ...
0
votes
0
answers
55
views
Unable to implement reCaptcha in HTML Form
I am new to Web development and I am trying to implement reCaption in my HTML form.
I tried many online tutorials but I was unable to implement it propoerly in my code.
Head :
<script src="https:/...
0
votes
1
answer
255
views
How to fix Ajax form not submitted after google invisible reCAPTCHA verification
I'm trying to integrate invisible recaptcha on a website that currenty uses recaptcha v2. Completing the form and hitting submit button has no problems. The problem is after the challenge is completed,...
-1
votes
1
answer
80
views
How to add recaptcha to mailform
The website of the wife of a deceased friend has been misused for sending spam. This is probably because ReCaptcha is not used with the registration form. The site uses Joomla 3.9.
I would like to ...
0
votes
1
answer
74
views
Adding reCaptcha to action.php
Very much an amateur developer who can cut and paste,
I am trying to add a reCaptcha v2 to an old html / php website,
I have got the captcha working, only problem is when the form is submitted it ...
2
votes
2
answers
12k
views
Contact Form submits without checking reCAPTCHA
I'm making a webapp with a contact form, and have a google reCAPTCHA (v2) on my website to prevent robot-spam.
I have added this code to the website:
<div class="g-recaptcha" data-sitekey="">&...
2
votes
1
answer
49
views
Problem Getting Recapcha 2 Communicating with the PHP Page
I have a one input field form which I am using to test installing reCaptcha 2 with verification on server-side. My flow chart is to post the reCaptcha response via Ajax to the PHP for verification. ...