Time: $time
" );
#write the user's IP address if available
if( $address != null)
{
fwrite( $file, "IP Address: $address
");
}
#write the URL of the forwarding page if available
if( $referer != null)
{
fwrite( $file, "Referer: $referer
");
}
#write the user's browser details
fwrite( $file, "Browser: $browser