I am currently using the following PHP code to return and format output from an .htm file:
\"; $lines = file(\"http://www.example.c
Another alternative is to do the calculation your own and skip all but the X last ones:
$last = 50; $count = count($lines); foreach ($lines as $line) { if ($count-- > $last) continue; ...