How do I verify a captcha with Recaptcha using PHP, such that my form redisplays with all information intact if the captcha is incorrect.
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$2 Answers
This code is just an example (and not safe or copy pastable), but would need to be added on form submit:
if ($resp->is_valid) {
CONTINUE }
else {
$_SESSION'NAME' = $_GET'name';
$_SESSION'EMAIL' = $_GET'email';
ETC
session_write_close();
header("location: ../form.php");
exit();
}
You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$You can leave an optional "tip" with Mahalo's virtual currency, Mahalo Dollars. If you are asking a difficult question that might require some research, or if you'd like a wide variety of feedback, a higher tip often leads to more answers to your question.
M$