ob_start();
require_once("config/functions.inc.php");
if(isset($_POST['done']))
{
$subject = 'Contact Query From INDIAN COMPUTER TRAINING CENTER';
$msg = '
Hi,
We have just received a new contact query.
Name:'.$_POST['name'].'
Email:'.$_POST['email'].'
Contact:'.$_POST['contact'].'
Address:'.$_POST['address'].'
Message:'.$_POST['message'].'
Enquiry For:'.$_POST['enquiry_for'].'
';
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
$headers .= 'From: '.$_POST['name'].'<'.$_POST['email'].'>'."\r\n";
@mail($EMAIL_ID,$subject,$msg,$headers);
$_SESSION['msg']="Thanks for successfull registration,Please contact Adminstration for automatically verify you and allow within 24 hours... ";
$_SESSION['error']=array();
if(count($_SESSION['error'])==0)
{
$current_date=date("Y-m-d");
mysqli_query($mysqli,"insert into contacts set name='".$_POST['name']."',
email='".$_POST['email']."',message='".$_POST['message']."',enquiry_for='".$_POST['enquiry_for']."',subject='".$_POST['subject']."',branch='".$_POST['branch']."',created_at='".$current_date."',contact='".$_POST['contact']."',address='".$_POST['address']."'") or die(mysqli_error($mysqli));
header("Location:thanks-msg.php");
}
}
?>
include('style.php'); ?>
//include('preloader.php'); ?>
include('header.php'); ?>
include('popup_search.php'); ?>
Contact Us
Office Address :
Call Us : ,
Email Us :
Get In Touch
It is a long established fact that a reader will be distracted by the readable content of a page randomised words
which don't look even slightly when looking at its layout.