Re: tail -f on webpage

2002-12-10 Thread George Georgalis
On Sun, Dec 08, 2002 at 11:45:22PM -0600, Dan Nelson wrote: >In the last episode (Dec 08), [EMAIL PROTECTED] said: >> Hi all >> >> How can i make a tail -f and show the results in a web page with >> out having to reload the page every N seconds >> >> i am using PHP in a script like: >> >> > $er

Re: tail -f on webpage

2002-12-10 Thread Dan Nelson
In the last episode (Dec 10), George Georgalis said: > On Sun, Dec 08, 2002 at 11:45:22PM -0600, Dan Nelson wrote: > > #! /bin/sh > > printf "Content-type: text/plain\r\n\r\n" > > tail -f /var/log/messages > > > > Unfortunatly if you try that your webserver will quickly fail because > the connecti

Re: tail -f on webpage

2002-12-08 Thread Dan Nelson
In the last episode (Dec 08), [EMAIL PROTECTED] said: > Hi all > > How can i make a tail -f and show the results in a web page with > out having to reload the page every N seconds > > i am using PHP in a script like: > > $error_log = '/var/log/apache/log'; > passthru ("tail -f $error_log"); >

Re: tail -f on webpage

2002-12-08 Thread David Syphers
On Sunday 08 December 2002 10:55 pm, [EMAIL PROTECTED] wrote: > Hi all > > How can i make a tail -f and show the results in a web page with > out having to reload the page every N seconds > > i am using PHP in a script like: > > $error_log = '/var/log/apache/log'; > passthru ("tail -f $error_

tail -f on webpage

2002-12-08 Thread nbari
Hi all How can i make a tail -f and show the results in a web page with out having to reload the page every N seconds i am using PHP in a script like: but i have to relaod the page to view new results. any ideas ? thanks. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscri