Illusory Follies Sed quis debuget ipsos debugatores?

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);
Comments (1) Trackbacks (0)
  1. I like the new look!

    Have fun in Hawaii!

    Love,

    Peter


Leave a comment

(required)

No trackbacks yet.