r
$message="";
if(isset($_POST['Submit']))
{
$name=$_POST['txt_name'];
$email="info@adventureupgradesafaris.com";
$msg=$_POST['txta_msg'];
$phone=$_POST['txt_phone'];
$demail=$_POST['txt_email'];
$country=$_POST['txt_country'];
$contact=$_POST['radio'];
$to1=$demail;
$to2=$email;
$from=$to1;
$body="From: ".$to1."
";
$body.="To: ".$to2. "
";
$body.="Name: ".$name."
";
$body.="Telephone Number: ".$phone. "
";
$body.="Country: ".$country."
";
$body.="Please contact me by: " .$contact. "
";
$body.=$msg;
$subject="Adventure Upgrade Online Form";
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers .= "From: ".$from;
@mail($to2,$subject,$body,$headers);
if(@mail($to2,$subject,$body,$headers)){
header("Location: http://" . $_SERVER['HTTP_HOST'] . dirname($_SERVER['PHP_SELF']) . "thanks.htm");
exit;}
else
$message = "Error While Sending Message";
}
?>
![]() |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Home || Car hire || Camping Equipment || Mountain Climbing || Adventure Safaris || Bookings || Rail Travel || Related Links || Contact Us |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Adventure Upgrade Tours and Safaris ©Copyright 2007 |