標題:
留言版2
[打印本頁]
作者:
may
時間:
2011-5-22 09:43
標題:
留言版2
<?
$companyname = $_POST['companyname'];
$contacter = $_POST['contacter'];
$address = $_POST['address'];
$telphone = $_POST['telphone'];
$email = $_POST['email'];
$message = $_POST['message'];
$to = "bluecat.admin@gmail.com"; // 收件人
$subject = "您有一則新留言!!";
/* 信件格式為 html */
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=utf-8\r\n";
$headers .= "From: 系統管理員 <
chris@gmail.com
>\r\n";
/* 可以開始寄信了 */
mail($to, $subject, $message, $headers);
header("Location:success.php");
?>
歡迎光臨 種子論壇 | 高雄市資訊培育協會學員討論區 (http://istak.org.tw/seed/)
Powered by Discuz! 7.2