PHP-Klasse::shagaTail 31.03.2007

Kurzbeschreibung: Get the last lines of a file like the tail command
Veröffentlicht am: 31.03.2007
Gruppe(n):
- PHP 5
- Files and Folders
- Logging
Beschreibung:
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.
Link: shagaTail