Re[2]: [PHP] reading linux wtmp file

2003-10-15 Thread Tom Rogers
Hi, Wednesday, October 15, 2003, 2:25:13 PM, you wrote: TR wtmp is a binary file and the format can vary between old and new versions of TR linux. You will need to have a look at struct utmp in, for example, /usr/include/bits/utmp.h TR This location can vary from system to system as well. TR

Re: Re[2]: [PHP] reading linux wtmp file

2003-10-15 Thread Louie Miranda
: Wednesday, October 15, 2003 2:45 PM Subject: Re[2]: [PHP] reading linux wtmp file Hi, Wednesday, October 15, 2003, 2:25:13 PM, you wrote: TR wtmp is a binary file and the format can vary between old and new versions of TR linux. You will need to have a look at struct utmp in, for example, /usr

Re: Re[2]: [PHP] reading linux wtmp file

2003-10-15 Thread Michael P. Carel
Thanks it's working now. Hi, Wednesday, October 15, 2003, 2:25:13 PM, you wrote: TR wtmp is a binary file and the format can vary between old and new versions of TR linux. You will need to have a look at struct utmp in, for example, /usr/include/bits/utmp.h TR This location can vary from

Re[4]: [PHP] reading linux wtmp file

2003-10-15 Thread Tom Rogers
Hi, Wednesday, October 15, 2003, 5:13:39 PM, you wrote: LM Crap entry 1546673160 LM This one gave me this error. Every line on the wtmp entry. LM -- - LM Louie Miranda LM http://www.axishift.com Then the format must be different for your file, that is one of the problems with the utmp and

Re[4]: [PHP] reading linux wtmp file

2003-10-15 Thread Tom Rogers
Hi, Wednesday, October 15, 2003, 5:13:39 PM, you wrote: LM Crap entry 1546673160 LM This one gave me this error. Every line on the wtmp entry. If you are using netdate that writes crap wtmp entries (at least mine did till I fixed it :) -- regards, Tom -- PHP General Mailing List

[PHP] reading linux wtmp file

2003-10-14 Thread Michael P. Carel
Hi to all, Have a problem here in reading the file wtmp in linux. Is there a way I can view it using a php script? Thanks in advance. Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] reading linux wtmp file

2003-10-14 Thread Tom Rogers
Hi, Wednesday, October 15, 2003, 10:52:43 AM, you wrote: MPC Hi to all, MPC Have a problem here in reading the file wtmp in linux. Is there a way I can MPC view it using a php script? MPC Thanks in advance. MPC Mike wtmp is a binary file and the format can vary between old and new versions