| Current Path : /home/zqegovsj/www/us3web.haibo.com.cn/wesonfast/ |
| Current File : /home/zqegovsj/www/us3web.haibo.com.cn/wesonfast/send.php |
<?php session_start();
if( $_POST['HI_vc_value']!=$_SESSION['Angus']){echo "<script language=javascript>alert('Please input a valid validate code.');history.back();</script>"; exit;
}
$subject = $_POST['subject'];
$content = $_POST['content'];
$company = $_POST['company'];
$name = $_POST['name'];
$email = $_POST['email'];
$tel = $_POST['tel'];
$fax = $_POST['fax'];
$country = $_POST['country'];
$replyDays = $_POST['replyDays'];
$address = $_POST['address'];
$website = $_POST['website'];
$fromSite = $_POST['fromSite'];
$to = 'chennuo@supplierlist.com';
// message
$message = "
=== Request for Information =====================
Information from $fromSite
=== Message Basics and Contact Details ==========
Company: $company
Tel: $tel
Fax: $fax
Contact: $name
Address: $address
Email: $email
Web: $website
Message: $content
=== Special Remind from SupplierList.Com =============================
* This notification service is provided by http://www.supplierlist.com ";
// To send HTML mail, the Content-type header must be set
$headers = 'MIME-Version: 1.0' . "\r\n";
$headers = 'Content-type: text; charset=utf-8' . "\r\n";
$headers = "From: $name <$email>" . "\r\n";
// Mail it
mail($to, $subject, $message, $headers);
?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="en-2">
<tr>
<td height="15"><div align="center"></div></td>
</tr>
<tr>
<td height="15"> </td>
</tr>
<tr>
<td><div align="center">Your inquiry and contact details have been sent..</div></td>
</tr>
<tr>
<td height="15">
<div align="center"></div></td>
</tr>
<tr>
<td height="15">
<div align="center"><a href="javascript:history.go(-2)">Back</a></div></td>
</tr>
<tr>
<td height="15"> </td>
</tr>
</table>