include('libraries/recaptchalib.php'); $publickey = "6LfZuQgAAAAAALs0tvXnQgOlCafXq26p8F-1s1gi"; // you got this from the signup page $verificationimage = false; $msgsent = false; if($_REQUEST['sendmsg']){ //process to see if captcha was entered correctly $privatekey = "6LfZuQgAAAAAAJ1sprgDly2J8C-AZAuytY9uHwkG"; $resp = recaptcha_check_answer ($privatekey, $_SERVER["REMOTE_ADDR"],$_POST["recaptcha_challenge_field"], $_POST["recaptcha_response_field"]); if ($resp->is_valid) { $verificationimage = true; //means correctly entered catpcha image //now send mail $to = 'info@clempenrose.com'; $subject = 'Website Form Contact Submission'; $message = 'From: ' . $_REQUEST['name'] . "\nEmail:\n". $_REQUEST['email'] ."\n" ."\nMessage:\n".$_REQUEST['message']; $headers = 'From: noreply@clempenrose.com' . "\r\n" . 'Reply-To: webmaster@clempenrose.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); if(mail($to, $subject, $message, $headers)){ $msgsent = true; } } } ?>
Prices upon request. To inquire about commissions, please contact us.
|
include('includes/menubar.php');?> |



