I want to make a kind of access script for my site. One that logs IPs and can provide me with statistical information such as hits per day, unique hits per day, busiest hour of the day, et cetera.
So far, I've been having trouble finding good documentation about this. And I really don't know how I'd be able to go about doing this.
I'm sure many of you have written scripts like these and I'd appreciate it if you could point me to some documentation.
I could be wrong here, but to track unique hits per day you would need to use cookies. This would get around people on dialup that have a different ip every time they connect.
Next I would build a couple of tables in mysql and store the rest of the information in there. Then at the end of each day its just a matter of going into your admin area and bringing up the file that queries your db and gives you the answers your after.
Bookmarks