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);
21May/072
Spellcheck
I have a spelling checker,
It came with my PC;
It plainly marks four my revue
Mistakes I cannot sea.
I've run this poem threw it,
I'm sure you're please too no,
It's letter perfect in it's weight,
My checker tolled me sew.
-Anonymous
8May/071
Sunrise/sunset code?
It appears that the PHP bug has mysteriously righted itself? If so, great! If it's still flipping between two different hours, oh well...