tail: Get the last lines of a file as the tail command

Recommend this page to a friend!
  Info   View files (3)   Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
68%Total: 1,741 All time: 2,228 This week: 794
Version License Categories
tail 1.0GNU Lesser Genera...HTML, XML, Files and Folders, Text pr...
Description Author

This class can be used to get the last lines of a file like the Unix tail command.

It can also filter the retrieved lines so only the lines that have a certain keyword or match a given regular expression are returned, like when using the Unix grep command.

It uses pure PHP commands so it can work on non-Unix like systems.

The maximum number of returned lines is configurable. The retrieved lines are returned as a text string. The retuned text may be highlighted or even formatted as an HTML list, or as XML document.

Picture of Bastian Gorke
Name: Bastian Gorke is available for providing paid consulting. Contact Bastian Gorke .
Classes: 3 packages by
Country: Germany Germany
Age: 39
All time rank: 688 in Germany Germany
Week rank: 771 38 in Germany Germany
Innovation award
Innovation award
Nominee: 1x

  Files  
File Role Description
class.tail.php Class the class-file
description.html Doc. documentation, based on example
showfile-example.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,741
This week:0
All time:2,228
This week:794
 User Ratings  
 
 All time
Utility:93%
Consistency:75%
Documentation:68%
Examples:68%
Tests:-
Videos:-
Overall:68%
Rank:576
  

For more information send a message to info at phpclasses dot org.