I got an strage php syntax error -
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 error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1
[19-may-2013 04:57:20 america/denver] php parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1
[19-may-2013 04:57:25 america/denver] php parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1
[19-may-2013 04:57:31 america/denver] php parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1
[19-may-2013 04:57:36 america/denver] php parse error: syntax error, unexpected '{' in /home3/webex/public_html/mmm/mar/views/mail.php on line 1
whats error problem?
open text editor , remove non ascii or non unicode chars appeared there while (probably) copying code skype
Comments
Post a Comment