-2
if(isset($_POST['contactname']) && isset($_POST['email']) && isset($_POST['message'])) {
$contactname = $_POST['contactname'];

$email = $_POST['email'];

$message = $_POST['message'];

$subject = "Ձեզ գրել են ձեր կայքից";

$to = "bulbulator2007@mail.ru";

$headers = "From: ".$email;
}

[19-May-2013 04:57:16 America/Denver] PHP Parse 错误:语法错误,第 1 行 /home3/webex/public_html/mmm/mar/views/mail.php 中的意外“{”

[19-May-2013 04:57:20 America/Denver] PHP Parse 错误:语法错误,第 1 行 /home3/webex/public_html/mmm/mar/views/mail.php 中的意外“{”

[19-May-2013 04:57:25 America/Denver] PHP Parse 错误:语法错误,第 1 行 /home3/webex/public_html/mmm/mar/views/mail.php 中的意外“{”

[19-May-2013 04:57:31 America/Denver] PHP Parse 错误:语法错误,第 1 行 /home3/webex/public_html/mmm/mar/views/mail.php 中的意外“{”

[19-May-2013 04:57:36 America/Denver] PHP Parse 错误:语法错误,第 1 行 /home3/webex/public_html/mmm/mar/views/mail.php 中的意外“{”

错误问题是什么?

4

1 回答 1

0

打开另一个文本编辑器并删除在(可能)从 Skype 复制代码时出现的所有非 ascii 或非 unicode 字符

于 2013-05-19T14:18:52.267 回答