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); |
#1 by Peter on June 4, 2007 - 9:04 am
I like the new look!
Have fun in Hawaii!
Love,
Peter