File manager - Edit - /home/asiatechinc/public_html/asiatechinc-websites/leafmountadventures.com/mail.php
Back
<?php $name = $_POST['name']; $email = $_POST['email']; $phone = $_POST['phone']; $fromcity = $_POST['fromcity']; $tocity = $_POST['tocity']; $datefrom = $_POST['datefrom']; $dateto = $_POST['dateto']; $pickuppoint = $_POST['pickuppoint']; $selectvehicle = $_POST['selectvehicle']; $message = $_POST['message']; $formcontent="Name: $name \n Phone: $phone \n Email Id: $email \n From City: $fromcity \n To City: $tocity \n Date From: $datefrom \n Date To: $dateto \n Pickup Point: $pickuppoint \n Vehicle: $selectvehicle \n Message : $message"; $recipient = "leafmountadventures@gmail.com, rajm6308@gmail.com"; $subject = "Enquiry Details From Leaf Mount Adventures"; $mailheader = "From: $email \r\n"; mail($recipient, $subject, $formcontent, $mailheader) or die("Error!"); header("Location:thank-you.php"); echo "Location:thank-you.php!" . " -" . "<a href='https://leafmountadventures.com/' style='text-decoration:none;color:#ff0099;'> Return Home</a>"; ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings