Let's say I have an Apache Web server, with the default access.log file for a website. I'm looking for a PHP class to dissect it and give me info. Better than that, I'd love a PHP class that would simply dissect the following line (as an example):
123.125.66.111 - - [19/Aug/2010:17:21:23 +0000] "GET /robots.txt HTTP/1.1" 404 409 "-" "Baiduspider+(+http://www.baidu.com/search/spider.htm)"
Any ideas? thx in advance
This is from what Ish Kumar said:
http://www.php-scripts.com/php_diary/012103.php3
Also, his search was a good one:
http://www.google.ca/search?sourceid=chrome&ie=UTF-8&q=php+parse+log+files
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With