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 ?


thanks.






To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to