Hi, I had this problem. I want to register every IP of the users accesing my site? gimme one example, no just the function? OK. Thx
I´ll be waiting ... here
I Need the IP?
Moderator: General Moderators
http://www.php.net/manual/en/reserved.variables.php
maybe your provider offers server logs.
Code: Select all
<?php
$fp = fopen('visitors.txt', 'a'); // storing it in a flat file?
fwrite($fp, $_SERVER['REMOTE_ADDR']."\r\n");
?>