|
 |
if($insert=="add"){
if($inputpassword==$_SESSION["captcha"]){
$headers = "From: \"webmaster web-thai\" \r\n";
$headers .= "MIME-Version: 1.0\r\n";
$headers .= "Content-Type: text/plain; charset=\"utf-8\"\r\n";
$headers .= "Content-Transfer-Encoding: 7bit\r\n";
$content = "
หัวข้อ : ".$inputhead." \n
ชื่อ-นามสกุล : ".$inputname." \n
ที่อยู่ : ".nl2br($inputaddress)." \n
อีเมล์ : ".$inputemail." \n
เบอร์โทรศัพท์ : ".$inputphone." \n\n
ข้อความ : ".$inputmessage." \n
";
mail("thussada@gmail.com","Contact Mail web-thai",$content,$headers);
mail("ohm_b95@hotmail.com","Contact Mail web-thai",$content,$headers);
?>
ระบบได้รับข้อความของท่านแล้ว
|
}else{ ?>
}
}else{?>
}?> |
|
|
|
|