AW-17296372433 $ip = $_SERVER['REMOTE_ADDR']; if ( !file_exists("ipkayit.txt")) { touch("ipkayit.txt"); $file = [USER=837630]FOP[/USER]en("ipkayit.txt", "+r"); @fclose($file); header( '*******: 1; url=/' ); } else { $file = [USER=837630]FOP[/USER]en("ipkayit.txt", "a"); $text = "-----------------------------". "\r\n" . "Tarih : " . date('d/m/Y - H:i') . "\r\n" . "IP Adresi :" . "\r\n" . $ip . "\r\n". "-----------------------------" . "\r\n"; @fwrite($file, $text); @fclose($file); } ?>