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 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,566 All time: 2,394 This week: 1,039Up
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: 178 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,566All time:2,394
 This week:0This week:1,039Up