SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Sep 2004
    Location
    Iceland
    Posts
    86
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Resources regarding access scripts

    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.

    Thanks.

  2. #2
    SitePoint Guru
    Join Date
    Feb 2002
    Location
    NZ
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    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.

    Hope that helps.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •