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
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
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 ?
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
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);
?
5 matches
Mail list logo