setRowsToRead($_GET['lines'], $_GET['startfrom']); // Read 100 rows $lfDispl->setAlign("top"); // Last row on top $lfDispl->setFilepath($filename); // from this logfile $lfDispl->setLineBreak(150); // Break the row after 150 chars echo $lfDispl->makeXmlOutput(); // Output ?>