Herself's Webtools

Scripts, HowTos, Templates, Plugins, Widgets, Tips

PHP log parsers to make it easier to find trouble in your access-log

without comments

While doing research for the WordPress Security Suite ( Prevent Bot Registrations, Prevent bots, scrapers and other badness on your WordPress blog ) I needed some tools to pull agents, user requests and ip numbers from my log files and just give me a list of the unique ones of each.

So I wrote 3 PHP scripts to do just that.

Download the scripts, put your access-log in the same directory and run them from a command line or just load those pages in a directory on your webserver and view them. ( Be sure to block them in robots.txt if you have them on a public webserver. )

Download log parsers

Written by Linda MacPhee-Cobb

July 14th, 2008 at 5:00 am

Posted in php,security,tools

Leave a Reply

You must be logged in to post a comment.