DMXzone reCAPTCHA Support Product Page
reCaptcha not sending
Asked 13 years ago
1
has this question
13 years ago Bruce Symons posted:
Have set the recaptcha in a php form and all goes well when sent however the message is not actually being sent - I must be missing something. Here is the link to the contact form www.guidedpath.com.au/contact.phpI have changed the dmxReCAPTCHA.php file by adding at the end the following code at line 123 to have my "thankyou" page returned as recommended by a previous post by you guys and it works fine. Just need to get the form sent.
if($_SERVER['REQUEST_METHOD'] == "POST"

if (!isset($mm_abort_edit) || !$mm_abort_edit) { // and validation is fine
$GoTo = "thankyou.html"; // redirect to a new page
if (isset($HTTP_SERVER_VARS['QUERY_STRING'])) {
$GoTo .= (strpos($GoTo, '?')) ? "&" : "?";
$GoTo .= $HTTP_SERVER_VARS['QUERY_STRING'];
}
header(sprintf("Location: %s", $GoTo));
}
}
I hope you can help
Regards
Bruce
Replies
Replied 13 years ago
13 years ago Teodor Kuduschiev replied:
Hello Bruce,
Please try moving this code on the page that contains the captcha.
Please try moving this code on the page that contains the captcha.
Replied 13 years ago
13 years ago Bruce Symons replied:
Hi,
Thanks for the reply.
Where abouts in the page do you want me to put it?
Thanks for the reply.
Where abouts in the page do you want me to put it?