IP Adden
Das Script speichert direkt
alle Ips eines Besuchers in einer Textdatei
|
Script: |
<?php
if (!file_exists("visitors.txt")) {
$iFileHandler = fopen("visitors.txt", "w");
} else {
$iFileHandler = fopen("visitors.txt", "a");
}
fputs($iFileHandler, $_SERVER['REMOTE_ADDR']."@"
.gethostbyaddr($_SERVER['REMOTE_ADDR'])."\r\n");
fclose($iFileHandler);
?>
|
|
|