Server IP : 162.214.80.37 / Your IP : 216.73.216.83 Web Server : Apache System : Linux sh013.webhostingservices.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64 User : imyrqtmy ( 2189) PHP Version : 8.2.18 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0750) : /home2/imyrqtmy/public_html/ziontechaviation/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php session_start(); if(isset($_POST['book'])) { $name=$_POST['name']; $email=$_POST['email']; $phone=$_POST['phone']; if(!empty($_POST['cmbService'])) { $sub=$_POST['cmbService']; } else { $sub = $_POST['sub']; } $msg=$_POST['msg']; $to="info@ziontechaviation.com"; // $to="rohan9358088469@gmail.com"; // $to="info@saavytechnologies.com"; $subject = "Enquriy"; $message ='Name : '.$name.'<br>'.'EMAIL : '.$email.'<br>'.'PHONE : '.$phone.'<br>'.'Service : '.$sub.'<br>'.'<strong> Message : '.$msg.'</strong>'; $headers = 'To:<'.$to.'>'."\r\n"; $headers .= 'Cc:'.$email."\r\n"; $headers .= 'Bcc:'.$email."\r\n"; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Content-type:text/html;charset=UTF-8" . "\r\n"; if(mail($to, $subject, $message, $headers)) { echo "<script type='text/javascript'>alert(\"Thank You, Will Contact you Soon.!\");window.location='index.php';</script>"; } else { echo "<script type='text/javascript'>alert(\"Something Wrong.!\");window.location='index.php';</script>"; } } ?>