
September 22nd, 1999, 07:53 AM
|
|
Guest
|
|
Posts: n/a
Time spent in forums:
Reputation Power:
|
|
|
I'm doing it at the moment heres the script
<?
$timestamp=date("d-m-Y");
$timestamp2=time();
$file="/whatever/your/directory/structure/is/files/".$timestamp.".txt";
$fp=fopen($file,'a');
if (!$UserID)
{
$UserID=" ";
}
if (!$frame)
{
$frame=" ";
}
fputs($fp,"$REMOTE_ADDR,$timestamp2,$UserID,$frame,$REQUEST_URIn");
?>
this will log your users into a file dated for each days access. You cans then cat them to sort it and merge them
|