23May/071
More PHP script…
I found this code useful recently to track statistically how many people are blocking javascript from executing on their system. It also acts as a basic logger for IPs and hostnames that are hitting your website...
$handling = fopen(”ips.html”, ‘a’); $StringData = date(’Y.m.d H:i:s’).”,”.$_SERVER[’REMOTE_ADDR’].”,”.gethostbyaddr($_SERVER[’REMOTE_ADDR’]).”n”; fwrite($handling, $StringData); fclose($handling);
Enjoy this article?
« Photoshop
Spellcheck »
June 4th, 2007 - 09:04
I like the new look!
Have fun in Hawaii!
Love,
Peter