Databases: PHP Log
Dom Hastings (contact me)
This package can be used to parse log files and process with separate classes.
It can open a given log file and extract values according to a regular expression. By default it uses Apache common log format regular expression.
For each log line it creates an array that contains the log field values. That array is passed to a parser class object for further processing.
A parser class is provided to insert the log field values in a MySQL database.
Click here for detailed information about this class on phpclasses.org