Login   Register  
PHP Classes
elePHPant
Icontem

TailFile: Emulates UNIX "tail -f" command

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2002-03-22 (12 years ago) RSS 2.0 feedStarStarStar 46%Total: 2,821 All time: 1,220 This week: 1,597Down
Version License PHP version Categories  
tailfile 1.0Unspecified (ask the au...3Files and Folders, Console
Description Author  
This class can display the lines added to a file like the UNIX "tail -f" command.

It can open given text file and returns the last lines added to the file.

The class takes note of the position of the file end and closes the file.

After a given wait period the class jumps to last end of file position and reads the file from there to check if there are new lines to show.
Picture of Matt Frederico
Name: Matt Frederico <contact>
Classes: 1 package by
Country: United States United States
Age: 38
All time rank: 1010132 in United States United States
Week rank: 1749 Down198 in United States United States Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file tail-example.php Example Example program
Plain text file tailfile.phpc Class Emulate "tail -f" in php cgi

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,821All time:1,220
 This week:0This week:1,597Down
 User Ratings  
 
 All time
Utility:78%StarStarStarStar
Consistency:67%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:1844