# START COPY HERE #
# COPY ALL THE PHP CODE AND PASTE IN YOUR PAGE AT TOP #
?>
if(isset($_POST["Submit"]) && $_POST["Submit"]=="Submit")
{
$verif_box = $_POST["vcode"];
$wrong_code=0;
if(md5($verif_box).'a4xn' == $_COOKIE['verycode'])
{
#-------------------------------------------------------------------#
###### MAKE CHANGE ONLY IN FOLLOWING 5 ITEMS ####################
$domainname="Lathia Polymer Industries"; // Change here domain name
$mailtype="Web Inquiry"; // Inquiry Information type etc..
$to="info@lathiapolymer.com
"; // change this where to send
$cc="info@lathiapolymer.com
"; // Here you can add Cc
$Bcc="pooja.verify@gmail.com"; // Here you can Bcc
$subject = "Inquiry Received from www.lathiapolymer.com Promoted by Innovative SEO Team"; // change subject
$thank="thanks.htm"; // Give here path of page thankyou etc
#-------------------------------------------------------------------#
################# Don't Disturb Following Code ###################
$mailbody='
|
|
| '.$mailtype.' |
Date : '.date('Y-m-d').' |
|
| Company Name : |
'.$_POST["company_name"].' |
| Contact Person : |
'.$_POST["contact_person"].' |
| Address : |
'.$_POST["address"].' |
| Mobile : |
'.$_POST["mobile"].' |
| Country : |
'.$_POST["country"].' |
| Telephone : |
'.$_POST["telephone"].' |
| E-mail : |
'.$_POST["email"].' |
| Website : |
'.$_POST["website"].' |
| Message : |
'.$_POST["message"].' |
|
';
$headers = "MIME-Version: 1.0;\r\n";
$headers .= "Content-type: text/html; charset=iso-8859-1;\r\n";
$headers .="From: ".$_POST["email"]."\r\n";
$headers .="Return-path: ".$_POST["email"]."\r\n";
$headers .= "Cc: ".$cc."\r\n";
$headers .= "Bcc: ".$Bcc."\r\n";
$body = $mailbody;
mail($to,$subject,$body,$headers);
header("Location: ".$thank);
}
else
{
$wrong_code=1;
}
}
?>
# END COPY - COPY ABOVE CODE AND PASTE AT THE TOP OF THE PAGE. #
?>
Contact Us
# COPY FOLLOWING STYLE AND JAVASCRIPT AND PASTE IN TAG ?>
# END ?>
# FORM START - COPY FORM TO FORM AND PASTE AT YOU USUAALY DO ?>
# FORM END - COPY ABOVE FORM TO FORM AND PASTE AT YOU USUAALY DO ?>