Contact Us
Via Email:
info@winebythelake.com
Contact From:
Please complete the fields below if you have any questions about the Brewfest, becoming a volunteer, becoming a sponsor or if you are interested in becoming a vendor.
$red = $_POST['red'];
$exe = $_POST['submit'];
if (!$exe)
{
?>
// Form is being submitted
} else {
//session_start();
// Send Email Message to Webmaster
// Check CAPTCHA
$from = $_POST['eaddress'];
$from_header = "From: $from";
$to = "info@winebythelake.com";
$subject = "Contact Us Request from WineByTheLake.com";
$body = "This is a contact us request email filled out on WineByTheLake.com"."\n"."\n"."\n";
$body .= "Name: " .$_POST['name']."\n";
$body .= "Email Address: ".$_POST['eaddress']."\n";
$body .= "Address: " .$_POST['address']."\n";
$body .= "City: ".$_POST['city']."\n";
$body .= "State: ".$_POST['state']."\n";
$body .= "Zip: ".$_POST['zip']."\n";
$body .= "Daytime Phone Number: ".$_POST['phone']."\n";
$body .= "Evening Phone Number: ".$_POST['evephone']."\n";
$body .= "Question: ".$_POST['msg']."\n";
include_once $_SERVER['DOCUMENT_ROOT'] . '/scripts/securimage/securimage.php';
$securimage = new Securimage();
if ($securimage->check($_POST['captcha_code']) == false) {
// the code was incorrect
// you should handle the error so that the form processor doesn't continue
// or you can use the following code if there is no validation or you do not know how
echo "
The security code entered was incorrect.
";
echo "Please go back and try again.";
exit;
}
/*if(($_SESSION['security_code'] == $_POST['security_code']) && (!empty($_SESSION['security_code'])) ) {*/
if (mail($to, $subject, $body, $from_header)) {
echo("
Contact us request successfully sent!");
echo"
Thank You! We will respond as soon as possible. Thank you for having interest in the Wine By The Lake Wine Festival.";
} else {
echo("
Message delivery failed...
Please try again or write us an email at info@winebythelake.com.");
}
/*} else {
echo "You did not provide the correct security code...
";
echo "
Click Here to try again.";
}*/
}
?>
include("../includes/sponsors.php"); ?>
include("../includes/footer-2.php"); ?>