Re: [PHP] Display syslog file?

2004-01-09 Thread Ray Hunter
On Fri, 2004-01-09 at 07:28, Carlton L. Whitmore wrote: I didn't make my last request very clear. I used lastlog as an example, but what I really want to do is open a syslog file (text file), that is coming in from a VPN box. That is easy enough to do if you have access to the syslog file.

RE: [PHP] Display syslog file?

2004-01-09 Thread Carlton L. Whitmore
can limit what is displayed. Thanks, Carlton. -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 8:46 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Display syslog file? On Fri, 2004-01-09 at 07:28, Carlton L. Whitmore wrote: I didn't make my

RE: [PHP] Display syslog file?

2004-01-09 Thread Ray Hunter
the permissions for you. That might be the easiest way to do it. -- Ray -Original Message- From: Ray Hunter [mailto:[EMAIL PROTECTED] Sent: Friday, January 09, 2004 8:46 AM To: [EMAIL PROTECTED] Subject: Re: [PHP] Display syslog file? On Fri, 2004-01-09 at 07:28, Carlton L

RE: [PHP] Display syslog file?

2004-01-09 Thread Peter Vertes
On Fri, 2004-01-09 at 10:05, Carlton L. Whitmore wrote: I'm using the root user to access the file so rights aren't an issue. Actually it is an issue because PHP is not running with root privileges (at least I hope you haven't changed it and made it run with root privileges; that would

Re: [PHP] Display syslog file?

2004-01-09 Thread Steve Edberg
I don't know if the same syntax is available on Linux, but on Solaris I can use the 'tail -f' command to watch lines being appended to a file from the commandline.. You might be able to do something via passthru(tail -f $PathToSyslog); in a frame on your page...although there might be