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

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,591 All time: 2,448 This week: 382Up
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: 43
All time rank: 471 in South Africa South Africa
Week rank: 588 Down3 in South Africa South Africa Down
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  
This week:0
All time:2,448
This week:382Up

For more information send a message to info at phpclasses dot org.