PHP Classes / Apache 2 log file parser

Parse common log format files generated by Apache

Apache 2 log file parser PHP Class

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.

Similar PHP Classes

Search in PHP Classes

Filter by tags