PHP monitor server log
Occasionally you'll be working on a webserver and not have SSH access to it. Below is a simple script I've written that reads a server log (in this case the error log) and outputs a portion of it to a webpage.
PHP:
Obviously in a production environment you'd want to add some sort of password protection to such a script.
/* Pete Graham */
Comments 2
Great info – keep up the great work.
Posted 20 Jul 2008 at 10:56 am ¶Nice post. Thank you for the info. Keep it up.
Posted 07 Dec 2008 at 6:09 pm ¶Post a Comment