Login   Register  
PHP Classes
elePHPant
Icontem

Class: Apache Logs Reader

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Pascal Toussaint  >  Apache Logs Reader  >  Download .tar.gz .zip  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Apache Logs Reader
Base name: apachelogsreader
Description: Parsing and processing Apache log files
Related classes: , , , , , , ,
Version: -
PHP version: -
License: Freely Distributable
All time users: 4527 users
All time rank: 482
Week users: 1 user
Week rank: 2467
Picture of Pascal Toussaint
Author: Pascal Toussaint <e-mail contact>
Packages: 6 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Age: 45
All time rank: 727 in France France
Week rank: 453 Down25 in France France Down


  Detailed description  
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.

 

  Groups  
Group folder image Statistics Collecting, processing and reporting statistical data View top rated classes
Group folder image Logging Log generation and processing View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (87.5%)
Sufficient (75.0%)
Not sure (50.0%)
Sufficient (75.0%)
-
-
Sufficient (63.8%)
521
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.apache.logs.reader.php Class The ApacheLogsReader base class and the ApacheLogVisits extended class
Plain text file HOWTO Doc. How to use the class
Plain text file test_logsreader.php Example ApacheLogVisits example

Download all files: apachelogsreader.tar.gz apachelogsreader.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.