Re: Re: tail a file
| From: | Mark | Date: | Fri, 26 Oct 2001 15:35:53 +0000 |
| Subject: | Re: Re: tail a file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72459@lists.php.net to get a copy of this message | ||
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" <phplist@pro.net.id> wrote in message
>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, maggelet@mminternet.com on 10/26/2001