PHP-Klasse::shagaTail 31.03.2007

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








XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Blogroll

Lorem ipsum

These 3 boxes are widgets and can be edited through the admin page, just like the sidebar.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Impressum