SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Wizard johnn's Avatar
    Join Date
    Mar 2001
    Location
    Southern California, USA
    Posts
    1,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Can we access the log statistics information from web server and write these information to Mysql database automatically? How?
    Thanks,
    John
    Last edited by johnn; May 13, 2001 at 20:25.

  2. #2
    Grumpy Mole Man Skunk's Avatar
    Join Date
    Jan 2001
    Location
    Lawrence, Kansas
    Posts
    2,066
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I don't know about accessing the web server's log file (it should be possible, just open the file in PHP and parse each line - parsing log files isn't much fun though) but it's easy to grab details about each visitor to your site and save them in a database. Check out these PHP Builder articles:

    http://www.phpbuilder.com/columns/se...n19990331.php3
    http://www.phpbuilder.com/columns/mattias19990302.php3
    http://www.phpbuilder.com/columns/tim19990130.php3
    http://www.phpbuilder.com/columns/tim20001211.php3

  3. #3
    SitePoint Enthusiast
    Join Date
    Mar 2001
    Location
    Washington State
    Posts
    70
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  4. #4
    SitePoint Zealot
    Join Date
    May 2000
    Posts
    150
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.fractal.net/mod_mylog.tm

    mod_mylog provides storing log entires into a MySQL database. mod_mylog is intelligent enough to cache logs to the drive when MySQL services are down. Other options include temporary caches for improved insert performance. Compatible with Apache 2.0a9.


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
  •