|
is_valid) {
die ("The reCAPTCHA wasn't entered correctly. Go back and try it again." .
"(reCAPTCHA said: " . $resp->error . ")");
}
*/
$email = $_REQUEST['email'] ;
$subject = $_REQUEST['subject'] ;
$message = $_REQUEST['message'] ;
mail("aleman.ivan@gmail.com", "Subject: $subject",
$message, "From: $email" );
echo "Thank you for using our mail form";
}
}
else
{
//if "email" is not filled out, display the form
/*
require_once('capt/recaptchalib.php');
$publickey = "6LeLsgsAAAAAAOY31ycYaI9IJdiSadEB9t-w6WKu"; // you got this from the signup page
*/
echo "";
// echo recaptcha_get_html($publickey);
}
?>
|