Re: Error Logs

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Error Logs
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-2607@lists.php.net to get a copy of this message
how about this one: <pre> <? system(escapeshellcmd("tail -f ./logs/error_log.log")); ?> </pre> -- Regards, -- Masood Nasir :-) [Systems Engineer] - http://www.masood.net ;) -- One Net, Lahore, Pakistan. <http://www.one.net.pk> On Wed, 21 Jun 2000, Brian C. Doyle wrote: > Hello all, > > How would I do a tail of an error log for an apache server so that it is > nicely formated on a web page? > Currently I have: > > <? > system(escapeshellcmd("tail -f ./logs/error_log.log")); > ?> > > I get a live tail of the error log with out any line breaks > > Any help is appreciated! > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#2607) next »