hi,
i did a basic one for my site last night, cos i dont get proper access logs. i wanted to know the 'history' of my hits for any time so i could see that someone went to index.php at 10:27am, 5 aug 02 and then went to whatever.php and know where they had come from and maybe even their ISP etc.
i figured i only really needed to know the following information:
pagename ($REQUEST_URI)
this iswhat their browser actually requested -
e.g. /index.php?foo=1&bar=2
hostname ($REMOTE_ADDR)
this is their ip address or that of their proxy server
referer ($HTTP_REFERER)
this is the page they came from
useragent ($HTTP_USER_AGENT)
this is the name/version of their browser - this way you can search engines that have visited.
datetime
this is harder that the others and uses the getDate() method which returns an array containing date and time (doh!)
need any more info let us know.
hope this helps.
vince