File manager - Edit - /home/asiatechinc/public_html/asiatech-websites/casadecalangute.com/mail.php
Back
<?php $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $formcontent="Name: $name \n Email Id: $email \n Message : $message"; $recipient = "contact@casadecalangute.com"; $subject = "Enquiry Details From Casa De Calangute"; $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='index.php' style='text-decoration:none;color:#ff0099;'> Return Home</a>"; ?>
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.05 |
proxy
|
phpinfo
|
Settings