title: PHP - Returning the last line in a file?
body: <p>I'm guessing it's fgets, but I can't find the specific syntax. I'm trying to read out (in a string I'm thinking is easier) the last line added to a log file.</p>