session_start();
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "form1")) {
if(($_SESSION['security_code'] == $_POST['security_code']) && (!empty($_SESSION['security_code'])) )
unset($_SESSION['security_code']);
else
$errormsg[] = "You did not enter the correct security code.";
if (strlen($_POST["firstname"]) < 2)
$errormsg[] = "Please provide us with your first name.";
if (strlen($_POST["lastname"]) < 2)
$errormsg[] = "Please provide us with your last name.";
if (strlen($_POST["email"]) < 8)
$errormsg[] = "Please provide us with your email address.";
if (isset($errormsg)){
$_POST["MM_insert"] = "";
unset($_POST["MM_insert"]);
}
}
$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}
if (!isset($errormsg) && isset($_POST["MM_insert"]) && $_POST["MM_insert"] == "form1") {
$name = "TopChoice Vacation Rentals";
$email = "brenda@topchoicevacationrentals.com";
$eol = "\r\n";
$message = "Top Choice Vacation Rentals Web Site$eol";
$message .= "------------------------------------$eol$eol";
$message .= "Submitted by: " . $_POST["firstname"] . " " . $_POST["lastname"] . "$eol";
$message .= "Address: " . $_POST["address"] . "$eol";
$message .= "City, State Zip: " . $_POST["city"] . ", " . $_POST["state"] . " " . $_POST["zip"] . "$eol";
$message .= "Country: ". $_POST["country"] . "$eol";
$message .= "Email: " . $_POST["email"] . "$eol";
$message .= "Day Phone: " . $_POST["dayphone"] . "$eol";
$message .= "Evening Phone: " . $_POST["eveningphone"] . "$eol";
$message .= "Heard about us: " . $_POST["howdidyouhear"] . "$eol";
$message .= "Search Engine: " . $_POST["searchengine"] . "$eol";
$message .= "Comments: " . $_POST["comments"] . "$eol";
$headers = "MIME-Version: 1.0$eol";
// $headers .= "Content-type: text/html; charset=iso-8859-1$eol";
$headers .= "From: " . $_POST["firstname"] . " " . $_POST["lastname"] . " <" . $_POST["email"] . ">$eol";
mail($email, "TopChoiceVacationRentals.com Contact Form", $message, $headers);
$GLOBALS['ThankyouMsg'] = "Thank you " . $_POST["firstname"] . ", for visiting our Web Site.
";
$GLOBALS['ThankyouMsg'] .= "We appreciate this opportunity to be of service, and will respond to your email promptly.
";
$GLOBALS['ThankyouMsg'] .= "Thanks again!
Brenda Dills
Top Choice Vacation Rentals";
session_register('ThankyouMsg');
$insertGoTo = "top-choice-thankyou.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}
$page_title = "Contact Top Choice Vacation Rentals";
include('includes/topchoice-header.php');
?>
CONTACT TOP CHOICE VACATION RENTALSif (isset($errormsg)){ echo "";
foreach($errormsg as $msg){
echo "$msg Contact Top Choice Vacation Rentals by Email. If you are trying to contact one of the Rental Properties you need to contact them directly from their listing page. If you want to list a rental go here Websites who are interested in linking to ours may fill in the form at link exchange
Please fill in the form below, letting us know what questions or comments you have, and we'll process your request as soon as we get it! Once the form is completed, simply hit "Submit"! We will respond to your inquiry by email. Thanks! We look forward to hearing from you! |
Printer-Friendly Page | Bookmark This Vacation Rental Site | if (isset($_GET['rentalid'])) { ?> " STYLE="font-size: 8 pt">Email This Page to a Friend } else { ?> " STYLE="font-size: 8 pt">Email This Page to a Friend } ?>
Home |
Vacation Rental FAQ's |
About Top Choice Vacation Rentals |
Contact Us |
Vacation Rental Press Room
TCVR Members Log In |
List Your Rental |
Properties For Sale |
Vacation Rentals Specials |
Featured Rentals
Calendar of Events |
Renters Testimonials |
Join Our Frequent User E-Club |
E Vacation Planner
New Vacation Rental Listings |
Link with Us |
Our Friends
Copyright © 2005 by Top Choice Vacation Rentals All Rights Reserved |
Copyright © 2005 by Top Choice Vacation Rentals All Rights Reserved | Privacy & Legal Statement | Site Map