I am currently using the following PHP code to return and format output from an .htm file:
\"; $lines = file(\"http://www.example.c
You're looking for the array_slice function:
array_slice() returns the sequence of elements from the array array as specified by the offset...
array_slice()
$lines = file(...); $lines = array_slice($lines, -50);