[PHP] Tailing Files

2002-05-05 Thread Liam MacKenzie
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Tailing Files

2002-05-05 Thread Miguel Cruz
On Sat, 4 May 2002, Liam MacKenzie wrote: 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? Not that I know of, but the process is pretty simple. Seek