Apache Logs Reader: Parsing and processing Apache log files

Recommend this page to a friend!
  Info   View files (3)   Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
59%Total: 4,979 This week: 1All time: 535 This week: 242
Version License Categories
apachelogsreader 1.0.0Freely DistributableStatistics, Logging
Description Author

This package is meant to parse and process Apache log files. It supports arbitrary Apache log formats, but it already comes with built in definitions to specify the formats: common, combined, referer and agent.

There is a base class that parses and extracts information from the log lines. This class may be extended by a sub-class to process the logs to generate specific statistics data.

This package comes with the sub-class ApacheLogVisits as an example of extended class that is meant for counting page views and site vistors.

Picture of Pascal Toussaint
Name: Pascal Toussaint <contact>
Classes: 6 packages by
Country: France France
Age: 54
All time rank: 847 in France France
Week rank: 246 12 in France France

File Role Description
class.apache.logs.reader.php Class The ApacheLogsReader base class and the ApacheLogVisits extended class
HOWTO Doc. How to use the class
test_logsreader.php Example ApacheLogVisits example

 Version Control Unique User Downloads Download Rankings  
This week:1
All time:535
This week:242
 User Ratings  
 All time

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