Re: tail -f file 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 connection never

Re: tail -f file 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 file 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: ?php $error_log

tail -f file on webpage

2002-12-08 Thread nbari
Hi all How can i make a tail -f file 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: ?php $error_log = '/var/log/apache/log'; passthru (tail -f $error_log); ? but i have to relaod the page to view new results. any ideas ?

Re: tail -f file 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 file 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: ?php $error_log = '/var/log/apache/log'; passthru (tail -f

Re: tail -f file 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 file 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: ?php $error_log = '/var/log/apache/log'; passthru (tail -f $error_log); ?