// ----------------------------------------------------------------------------- // PC-Daten und Page-ID's auslesen // ----------------------------------------------------------------------------- $Woher = $_SERVER['HTTP_REFERER']; $IP = $REMOTE_ADDR; $Timestamp = time(); // -------------------------------------------------------------------------------------- // Log schreiben // -------------------------------------------------------------------------------------- $D = "Web_Log_Visit.txt"; $Datei = fopen($D,"a"); $String = ""; $String .= $Timestamp. "\t"; // 2 = Unix-Timestamp $String .= $IP. "\t"; // 16 = IP $String .= $Woher. "\t"; // 28 = Herkunft $String .= "x". "\t"; $String .= "\n"; fputs ($Datei, $String); fclose($Datei); ?>