Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Nov 2005
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Apache log parser

    Hello folks,

    Does anyone know where I can locate a good apache log parser written in php?

    I just need the core code that can handle the parsing and then I can store to a database and run some statistics.

    Thanks

  • #2
    Regular Coder
    Join Date
    Feb 2005
    Location
    UK
    Posts
    133
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Take a look at logging directly to your database, rather than parsing a log file

    http://www.steve.org.uk/Software/mod-log-mysql-simple/

    I'd stay away from writing your own stats problem though, it's been done many times before, so it's better to use someone else's. Try awstats.

  • #3
    Regular Coder trib4lmaniac's Avatar
    Join Date
    Feb 2004
    Location
    Cornwall, UK
    Posts
    535
    Thanks
    0
    Thanked 0 Times in 0 Posts


  •  

    Posting Permissions

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