####### script php ########### $from="www.pro-floor.net.com"; if($_POST['submit']) { $name=$_POST['name']; $tel=$_POST['tel']; $email=$_POST['email']; $address=$_POST['address']; $topic=$_POST['topic']; $content=$_POST['content']; $to = "profloor@hotmail.co.th"; //เปลี่ยนเป็นอีเมลล์ของคุณ $subject = "Contact from $from"; //Contact from $msg = iconv('utf-8', 'tis-620'," ข้อมูล แบบฟอร์มหน้าเว็บไซต์ ชื่อ : $name เบอร์โทร : $tel E Mail : $email ที่อยู่ลูกค้า :$address หัวข้อ : $topic รายการละเอียด : $content "); //$email=iconv('utf-8', 'tis-620',$email); $headers = "From: $email"; //$headers.= "Content-Type: text/html; charset=tis-620";// ปกติปิด mail("$to", "$subject", "$msg", "$headers"); ?>
ข้อมูลจัดส่งเรียบร้อย ขอบคุณสำหรับความไว้วางใจ |