Server IP : 162.214.80.37 / Your IP : 216.73.216.68 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 (0755) : /home2/imyrqtmy/public_html/zugadu/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php if(isset($_POST['submit'])) { $name=$_POST['name']; $email=$_POST['email']; $sub=$_POST['subject']; $msg=$_POST['message']; $toEmail = "info@zugadu.in"; $mailHeaders = "From: zugadu@gmail.com"; $subject="Enquiry from Zugadu"; $message=" Name : ".$name." Email : ".$email." Address : ".$sub." Message : ".$msg; if(mail($toEmail, $subject, $message, $mailHeaders)) { echo"<script>location.href='contact.php?id=1';</script>"; } else { echo"<script>location.href='contact.php?id=0';</script>"; } } if(isset($_POST['submitpartner'])) { $name=$_POST['name']; $email=$_POST['city']; $sub=$_POST['phoneno']; $msg=$_POST['message']; $type=$_POST['type']; $typee=""; if($type==1) { $typee="Glass Fitment"; } if($type==2) { $typee="Car Service"; } if($type==3) { $typee="Both Service (Glass Fitment & Car Service)"; } $toEmail = "info@zugadu.in"; $mailHeaders = "From: zugadu@gmail.com"; $subject="Partner Enquiry from Zugadu"; $message=" Name : ".$name." City : ".$email." Type of Service : ".$typee." Phone Number : ".$sub." Message : ".$msg; if(mail($toEmail, $subject, $message, $mailHeaders)) { echo"<script>location.href='partner.php?id=1';</script>"; } else { echo"<script>location.href='partner.php?id=0';</script>"; } } // $toEmail = "twinklesaraswat14081999@gmail.com"; // $mailHeaders = "From: " . $_POST["userName"] . "<". $_POST["userEmail"] .">\r\n"; // if(mail($toEmail, $_POST["subject"], $_POST["content"], $mailHeaders)) { // print "<p class='success'>Contact Mail Sent.</p>"; // } else { // print "<p class='Error'>Problem in Sending Mail.</p>"; // } ?>