Tailing a log file {!?}
| From: | Liam MacKenzie | Date: | Sat, 04 May 2002 03:51:35 +0000 |
| Subject: | Tailing a log file {!?} | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-96112@lists.php.net to get a copy of this message | ||
Hi guys,
just a simple question, how would I go about displaying the last 100 lines
of a log file?
I know that on the command line it's:
tail -n 100 access_log
Is there a PHP function to do this?
Cheers,
Liam