Re: Tailing a log file {!?}

From: Date: Sun, 05 May 2002 08:22:11 +0000
Subject: Re: Tailing a log file {!?}
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-96131@lists.php.net to get a copy of this message
On Saturday 04 May 2002 16:09, Liam MacKenzie wrote: > Sorry, I should have included this in the first email... [snip] > When I call the page, I get the expected at the top: > Excecuting: tail -n 150 /www/hosting/domains/lanolot/logs/error.log > Displaying the last 150 lines of error.log... > > But there's nothing underneath it. 1) Check that you have permissions to access the file 2) Add a 'return_var' to your exec() call. And check what this contains. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* DeVries' Dilemma: If you hit two keys on the typewriter, the one you don't want hits the paper. */

« previous php.general (#96131) next »