A log file is opened and its end is assessed.
classtailfile checks whether any new lines are added. If a new line is added it is returned immediately. Otherwise it waits for a configurable time interval before it checks again whether the log file was updated.
PHP 5.0 or higher
More popular Error Handling
- 1.6 KB
- 11/14/2008 16:35:42