husee3 adlı üyeden alıntı: mesajı görüntüle
session kullan text içinde aratırsan tek tek açman lazım

<?php
if ($_SESSİON['USER']<> '1'){
$tarih = date("d/m/y - H:i:s");

$REMOTE_ADDR = getenv('REMOTE_ADDR');
$body_content=$REMOTE_ADDR.'|'.$tarih;  
$file_name="file.txt";
$fp = fopen ($file_name, "a");
fwrite ($fp,$body_content);
fclose ($fp);
$_SESSİON['USER']== '1';}
?>
Malesef sayfayı her yenilediğimde aynı ip adresini tekrar kayıt etti