Uname: 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
Software: LiteSpeed
PHP version: 8.0.30 [ PHP INFO ] PHP os: Linux
Server Ip: 62.72.28.201
Your Ip: 3.149.237.231
User: u249650955 (249650955) | Group: o200102258 (1200102258)
Safe Mode: OFF
Disable Function:
NONE

name : olympiad-enquiry.php
<?php
	$cname = $_POST['name'];
	$cemail = $_POST['email'];
    $cphone = $_POST['mobile'];
    $cservice = $_POST['class'];
    $cexam = $_POST['exam'];
    
	$to = "info.dwarka@fiitjee.com";
	$subject = "Olympiads Enquiry";
	$message = "<h2>Fiitjee Dwarka</h2>";
	$message .= "<h4>Name : ".$cname.
	"</h4><h4>Email : ".$cemail.
	"</h4><h4>Contact. : ".$cphone.
	"</h4><h4>Class : ".$cservice.
	"</h4><h4>Target Exam : ".$cexam.
	"</h4>";
   	$header = "From:".$_POST['email']."\r\n";
   	$header = "Cc:deepak.singh@fiitjee.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>";
   }
   ?>
© 2024 403 BYPASS SHELL