better yet, just use backticks:
<?
echo `tail $filename`
?>

On Fri, 26 Oct 2001 16:13:31 +0200, _lallous wrote:
>to tail a file use the "+" flag when opening that log file,
>and write a simple PHP script that spits that file to you, ie:
>showlog.php
><?
>readfile('logfile.txt');
>?>
>"Yamin Prabudy" <[EMAIL PROTECTED]> wrote in message
>003901c15de4$82f0cb70$fe2796ca@dusak">news:003901c15de4$82f0cb70$fe2796ca@dusak...
>> Hi there I need help here
>> I got a file say it's a logs file and keep update ever changes
>>
>> I need to tail this files and pharse it into web, so I can see
>>this the
>> update without login into server (jst thru web browser ) how can i
>>do this
>>
>> Thanks for Help
>>
>
>
>


--
Mark, [EMAIL PROTECTED] on 10/26/2001



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to