TailFile: Emulates UNIX "tail -f" command

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 46%Total: 2,847 All time: 1,314 This week: 377Up
Version License PHP version Categories
tailfile 1.0Unspecified (ask ...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: 45
All time rank: 1116153 in United States United States
Week rank: 730 Up72 in United States United States Up

  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  
This week:0
All time:1,314
This week:377Up
 User Ratings  
 All time

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