I'm looking for a way to read the LAST line of a file w/ one PHP fopen or fgets command. Is that possible?
I thought something like this would work:
$last_row = fread($handle, (feof($handle)-1));
OR
$last_row = fread($handle, -1);
But neither of those get it. Any ideas?