Location: PHPKode > scripts > AJAX Hotel Booking Form > ajax-hotel-booking-form/HotelReservationForm.AJAX/Admin/Assets/send-confirmation-email.php
<?php
	/*
		AJAX Hotel Reservation Form 5.0 [send confirmation email routine]

		http://acidjs.wemakesites.net/hotel-reservation-form-js.html
	*/

	if(!isset($_GET["email"]))
	{
		die("");
	}

	if(get_magic_quotes_gpc())
	
	$hotelemail = $_GET["hotelmail"];
	$email = $_GET["email"];
	$message = $_GET["body"];
	$subject = $_GET["confirmsubject"];
	
	mail($email, $subject, $message, "From: ".$hotelemail."");
?>
Return current item: AJAX Hotel Booking Form