I Need the IP?
Posted: Thu Apr 03, 2003 4:53 pm
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´ll be waiting ... here
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
$fp = fopen('visitors.txt', 'a'); // storing it in a flat file?
fwrite($fp, $_SERVER['REMOTE_ADDR']."\r\n");
?>