Login   Register  
PHP Classes
elePHPant
Icontem

Class: tail

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bastian Gorke  >  tail  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: tail
Base name: tail
Description: Get the last lines of a file as the tail command
Related classes: , , , , , , ,
Version: -
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 1609 users
All time rank: 2037
Week users: 0 users
Week rank: 2507
Picture of Bastian Gorke
Author: Bastian Gorke is available for providing paid consulting. Contact Bastian Gorke .
Packages: 3 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Age: 31
All time rank: 588 in Germany Germany
Week rank: 112 Down3 in Germany Germany Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description  
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.

 

  Groups  
Group folder image HTML HTML generation and processing View top rated classes
Group folder image XML XML parsing and generation View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (93.8%)
Sufficient (75.0%)
Sufficient (68.8%)
Sufficient (68.8%)
-
-
Sufficient (68.1%)
276
Month:
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Plain text file class.tail.php Class the class-file
Accessible without login HTML file description.html Doc. documentation, based on example
Plain text file showfile-example.php Example example

Download all files: tail.tar.gz tail.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.