"Your Contact Number: \"" . $_POST["requirednum"] . "\"
";
"Your Email: \"" . $_POST["email"] . "\"
";
"You Are Interested In: \"" . $_POST["interestedin"] . "\"
";
"Your Message: \"" . $_POST["message"] . "\"
";
//sends email via php to the following address
$mailuser = "team@b-visible.co.uk";
//echo 'default chosen address: '.$mailuser;
$header = "Return-Path: ".$mailuser."\r\n";
$header .= "From: Rochdale Web Design.com <".$mailuser.">\r\n";
$header .= "Content-Type: text/html;";
$mail_body = '
The User: '.$_POST[requiredname].' .
Contact Number: '. $_POST[requirednum] . '
Email Address: '. $_POST[email] . '
Interested In: '. $_POST[interestedin] . '
Message: '. $_POST[message] . ''
;
mail ($mailuser, 'Rochdale Webdesign', $mail_body, $header);
echo '
';
} else {
// *** The input text did not match the stored text, so they failed ***
// *** You would probably not want to include the correct answer, but
// unless someone is trying on purpose to circumvent you specifically,
// its not a big deal. If someone is trying to circumvent you, then
// you should probably use a more secure way besides storing the
// info in a cookie that always has the same name! :) ***
echo "Sorry, Please enter the correct numbers and letters in the image.
";
echo "You said " . $_POST["captcha_input"];
echo " while the correct answer was " . $_SESSION["pass"];
echo " - Please click back in your browser and try again
";
}
?>
Thank You For Contacting:
Logic Independant financial advisers
We Will Contact You Soon
You Will Automatically be taken back to the home page in 5 seconds
Thank You...