--
You received this message because you are subscribed to the Google Groups "reCAPTCHA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to recaptcha+...@googlegroups.com.
To post to this group, send email to reca...@googlegroups.com.
Visit this group at http://groups.google.com/group/recaptcha?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
<?php
require_once('recaptchalib.php');
$privatekey = "privatekey";
$resp = recaptcha_check_answer ($privatekey,
$_SERVER["REMOTE_ADDR"],
$_POST["recaptcha_challenge_field"],
$_POST["recaptcha_response_field"]);
if (!$resp->is_valid) {
// What happens when the CAPTCHA was entered incorrectly
die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." .
"(reCAPTCHA said: " . $resp->error . ")");
} else {
// Your code here to handle a successful verification
}
$txt = stripslashes($txt);
$txt = trim($txt);
$mailto ="robi...@aol.com";
$body = "Name: $name\n\nE-mail address: $email\n\nComments: $txt";
mail($mailto, $subject, $body);
?>
<html>
<head>
<title>Guestbook Response</title>
</head>
<body>
Remember you are a non-programmer attempting to implement a fairly sophisticated programming solution for FREE, and you must depend on volunteer help. Expect some setbacks, remain "gracious and tenacious" if you want to succeed.
Good luck!