Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2002 22:55:54 -0600 (CST)
From:      <nbari@unixmexico.com>
To:        <freebsd-isp@freebsd.org>, <hackers@FreeBSD.ORG>
Subject:   tail -f <file> on webpage
Message-ID:  <26647.148.243.211.1.1039409754.squirrel@mail.unixmexico.com>

next in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?26647.148.243.211.1.1039409754.squirrel>