PHP-Code:
$filename = "visitors.txt";
$thevisitors = fopen($filename, w+);
$page = "Startseite";
$ip = $_SERVER['REMOTE_ADDR'];
$oldcontent = fread($thevisitors, filesize($filename));
$towrite = $oldcontent."\n".$page." || ".$ip."\n";
fwrite($thevisitors, $oldcontent);
fclose($thevisitors);
in dem script von voher komt folgende meldung:
Parse error: syntax error, unexpected ')' in /usr/export/www/vhosts/funnetwork/hosting/julianshp/chat2.php on line 53
was ist denn da falsch?
Kommentar