<? // // tail-usage.php // // require_once("shagaTail.php"); $myShaga = new shagaTail; $myShaga->tailFile = 'filename.log'; for(;;){ $line = $myShaga->getStr(); echo $line."<br />\n"; $myShaga->update(); } ?>
info at phpclasses dot org