PHP Classes

Apache 2 log file parser: Parse common log format files generated by Apache

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-09-12 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,549 This week: 1All time: 2,380 This week: 1,271Up
Version License Categories  
apache2logparse 1.0.0GNU General Publi...PHP 5, Logging
Description Author  

This class can be used to parse common log format files generated by Apache 2.

It reads an Apache log file into an array. Each log file line can be parsed to retrieve the request details: IP address, date, HTTP method, URI, response status code and user agent.

Picture of Paul Scott
Name: Paul Scott <contact>
Classes: 14 packages by
Country: South Africa South Africa
Age: 38
All time rank: 451 in South Africa South Africa
Week rank: 148 Down1 in South Africa South Africa Equal
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file apachelogparser_class_inc.php Class class code
Accessible without login Plain text file example.php Example example script

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,549All time:2,380
 This week:1This week:1,271Up