$reqi=$_SERVER{'REQUEST_URI'}; $refer=$_SERVER{'HTTP_REFERER'}; $remote=$_SERVER{'REMOTE_ADDR'}; $remote1=$_SERVER{'REMOTE_HOST'}; $date=date ("YMd/h:i:sA"); $entry=$date." :: ref:".$refer." | ".$remote." (".$remote1.") | entry : ".$reqi."\n"; $filename="/home/paisleys/public_html/foodnerd.log.txt"; $handle=fopen($filename,'a'); fputs($handle,$entry); fclose($handle); ?>
That's HILARIOUS!
Posted by: Avatar at March 14, 2005 07:06 PM