hi ..i'm kinda noob to PHP i dont know wut's really wrong with this code but i keep getting this parse error
Parse error: syntax error, unexpected $end in /home/zendurl/public_html/myspace6/test.jpg/index.php on line 17
and this is line 17:
$headers .= "From: \"".$fromname."\" <".$fromaddress.">\n";
and that' the whole code down there
I really will appreciate ur Help>>>>
[FONT="Arial"]<?PHP
$remote_addr = getenv(’REMOTE_ADDR’);
$toaddress = "wutever@Bla.com";
$subject = "IP tracket";
$message = "IP: $remote_addr";
$fromname = "thename";
$fromaddress = "wutever@bla.com";
$headers = "MIME-Version: 1.0\n";
$headers .= "Content-type: text/plain; charset=iso-8859-1\n";
$headers .= "X-Priority: 3\n";
$headers .= "X-MSMail-Priority: Normal\n";
$headers .= "X-Mailer: php\n”;
$headers .= "From: \"".$fromname."\" <".$fromaddress.">\n";
mail($toaddress, $subject, $message, $headers);
?>
<img src"http://www.zendurl.com/myspace6/test.jpg/test.JPG">[/FONT][FONT="Arial"][/FONT]