Online Reservation
$sparam = array();
if($_POST['mode']=="upload") {
$check1 =$_POST['check1'];
$sparam[1] = $_POST['fName'];
$sparam[2] = $_POST['email'];
$sparam[3] = $_POST['cNumber'];
$sparam[4] = $_POST['dofService1'];
$sparam[5] = $_POST['pickUpTime1'];
$sparam[6] = $_POST['nofPassengers1'];
$sparam[7] = $_POST['loFlight'];
$sparam[8] = $_POST['cityTerminal'];
$sparam[9] = $_POST['dofLocation'];
$sparam[10] = $_POST['Vehicle'];
$sparam[11] = $_POST['Childseat'];
$sparam[12] = $_POST['splinstruc'];
if($check1 =='1'){
$sparam[13] = $_POST['dofService2'];
$sparam[14] = $_POST['pickUpTime2'];
$sparam[15] = $_POST['nofPassengers2'];
$sparam[16] = $_POST['loFlight2'];
$sparam[17] = $_POST['cityTerminal2'];
$sparam[18] = $_POST['dofLocation2'];
$sparam[19] = $_POST['Vehicle2'];
$sparam[20] = $_POST['Childseat2'];
$sparam[21] = $_POST['splinstruc2'];
$sparam[22] = $_POST['NonCard'];
$sparam[23] = $_POST['cCardNum'];
$sparam[24] = $_POST['credit_card_expiry_month'];
$sparam[25] = $_POST['credit_card_expiry_year'];
$sparam[26] = $_POST['cVV'];
}
$header.="from:".$_POST['email']."\n";
$header .= "Content-type: text/html; charset=iso-8859-1\r\n";
$sendemail="info@limoairporttoronto.com";
$message .= "Full Name: ".$sparam[1]."
";
$message .= "Your Email: ".$sparam[2]."
";
$message .= "Cell Phone Number: ".$sparam[3]."
";
$message .= "
"."General Reservation Information".""."
";
$message .= "Pickup Date: ".$sparam[4]."
";
$message .= "Pickup Time: ".$sparam[5]."
";
$message .= "Passengers: ".$sparam[6]."
";
$message .= "Pick-Up Location / Flight #: ".$sparam[7]."
";
$message .= "City / Terminal #: ".$sparam[8]."
";
$message .= "Drop-Off Location: ".$sparam[9]."
";
$message .= "Type of Vehicle: ".$sparam[10]."
";
$message .= "Child Seat: ".$sparam[11]."
";
$message .= "Special Instructions #: ".$sparam[12]."
";
if($check1 =='1'){
$message .= "
"."Return Reservation Information".""."
";
$message .= "Pickup Date: ".$sparam[13]."
";
$message .= "Pickup Time: ".$sparam[14]."
";
$message .= "Passengers: ".$sparam[15]."
";
$message .= "Pick-Up Location / Flight #: ".$sparam[16]."
";
$message .= "City / Terminal #: ".$sparam[17]."
";
$message .= "Drop-Off Location: ".$sparam[18]."
";
$message .= "Type of Vehicle: ".$sparam[19]."
";
$message .= "Child Seat: ".$sparam[20]."
";
$message .= "Special Instructions #: ".$sparam[21]."
";
$message .= "
"."Credit Card Information".""."
";
$message .= "Name on Card: ".$sparam[22]."
";
$message .= "Credit Card Number: ".$sparam[23]."
";
$message .= "Month and Year of Expiry: ".$sparam[24]." ".$sparam[25]."
";
$message .= "CVV: ".$sparam[26]."
";
}
$mail_subject="Airport Taxi Mississauga Reservation";
@mail($sendemail,$mail_subject,$message,$header);
echo "
Your will receive confirmation shortly.
";
}
?>