Hello there, this is the code
PHP Code:
<?php
$iplogfile = "log.txt"; $fp = fopen($iplogfile, "a");
if ($fp) { fputs($fp, $_SERVER["REMOTE_ADDR"]." \n"); fclose($fp); }
?>
Can someone help me how i can make if the $_SERVER["REMOTE_ADDR"] is aready on log.txt to dont add again the ip on log.txt
Thanks
|