RE: [PHP] tail -f into web page
| From: | Vail, Warren | Date: | Fri, 26 Mar 2004 02:33:30 +0000 |
| Subject: | RE: [PHP] tail -f into web page | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181535@lists.php.net to get a copy of this message | ||
try;
echo htmlspecialchars(exec("tail -f log.file"));
this, of course, assumes your php web server is on the same machine as the
log file.
Warren Vail
-----Original Message-----
From: CurlyBraces Technologies ( Pvt ) Ltd [mailto:curlybraces@dialogsl.net]
Sent: Thursday, March 25, 2004 6:24 PM
To: PHP
Subject: [PHP] tail -f into web page
hi friends ,
I have a log file that is creating while running a perl script.That log can
i read ( using, tail -f log.file ) in to a web interface from php ?
Is there any possibility , plz help ..........,
Thanx in advance,
curlys