$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); ?>
I've been eating a lot of late-night crap meals because I'm out late dancing, but a few things have crossed my path: