if you're using unix, there's the "tail" command: <?php $results = `tail -n 100 logfile.log`; echo "<pre>$results</pre>\n"; ?>
-----Original Message----- From: Yamin Prabudy [mailto:[EMAIL PROTECTED]] Sent: Friday, October 26, 2001 4:08 PM To: [EMAIL PROTECTED] Subject: [PHP] tail a file Hi there I need help here I got a file say it's a logs file and keep update ever changes I need to tail this files and pharse it into web, so I can see this the update without login into server (jst thru web browser ) how can i do this Thanks for Help -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]