Re: [Phplib-users] tail -f
Brought to you by:
nhruby,
richardarcher
|
From: Frank B. <fb...@sy...> - 2002-12-17 20:50:50
|
At 07:54 AM 12/17/02, Poduje, Miguel (LanInfo) wrote:
>How can i do a "tail -f" in php?
>I need to read a file in online mode.
>
>regards
To simply dump the contents of file out to webpage, then try:
system('tail -f /path/to/file');
http://www.php.net/manual/en/function.system.php
or if you are looking to be able to process the data first yourself, then
try popen():
http://www.php.net/manual/en/function.popen.php
|