|
 |
|
สอบถามเรื่อง การส่งอีเมล์ ของ php ครับ มีปัญหาเรื่องภาษา |
|
 |
|
|
 |
 |
|
ขอบคุณครับ 
แก้เป็น UTF-8 แล้วก็ยังเหมือนเดิมครับ T.T
Code (PHP)
<?php
require_once("./config/utility.php");
$time_h1=$_POST['time_h1'];
$pay1=$_POST['pay1'];
$name_h1=$_POST['name_h1'];
$surname_h1=$_POST['surname_h1'];
$tel_h1=$_POST['tel_h1'];
$com_h1=$_POST['com_h1'];
$e_h1=$_POST['e_h1'];
$add_h1=$_POST['add_h1'];
$host1=$_POST ['host1'];
?>
<?php
$to = "[email protected]"; // change this line to your email
$subject = "togethost Contact ขอเช่า Hosting $host1";
$headers = "Content-type: text/html; charset=utf-8";
$headers = "xxxxxxx Contact From: $e_h1";
$msg = "
เรื่อง : xxxx Hosting $host1
ระยะเวลา : $time_h1
ชื่อ : $name_h1 <br>
นามสกุล : $surname_h1
เบอร์โทรศัพท์ : $tel_h1
Email : $e_h1
บริษัท : $com_h1
ที่อยู่ : $add_h1
วิธีชำระเงิน: $pay1
";
mail("$to", "$subject", "$msg", "$headers");
msgbox("ส่งอีเมล์เรียบร้อยค่ะ");
redirect('tgh_host_pag.php');
?>
|
 |
 |
 |
 |
Date :
2010-09-03 10:34:07 |
By :
peatcsnon |
|
 |
 |
 |
 |
|
|
 |
 |
|
 |
 |
|
|
|

|
Load balance : Server 01
|