Files and Folders: shagaTail
Arthur Tumanyan (contact me)
This class can be used to retrieve the last lines added to a file like using the the Linux/Unix tail command for monitoring log files.
It seek to the end of the file and returns the last line that is added.
The class can check if the file was modified since the last time a line it was retrieved. If it was changed the class can read the last line again.
Click here for detailed information about this class on phpclasses.org