atom feed5 messages in org.freebsd.freebsd-hackerstail -f <file> on webpage
FromSent OnAttachments
nba...@unixmexico.comDec 8, 2002 8:55 pm 
David SyphersDec 8, 2002 9:26 pm 
Dan NelsonDec 8, 2002 9:45 pm 
George GeorgalisDec 10, 2002 10:51 am 
Dan NelsonDec 10, 2002 11:12 am 
Subject:tail -f <file> on webpage
From:nba...@unixmexico.com (nba@unixmexico.com)
Date:Dec 8, 2002 8:55:32 pm
List:org.freebsd.freebsd-hackers

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 majo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message