On Wednesday, May 16, 2001, at 09:47 PM, Ryan Christensen wrote: > No.. as I said in my original post, this is on Linux.. so I was actually > wondering how it would be a risk in Linux.. not win.. If you want to get the current uptime in Linux without a system() call, you should be able to fopen() the /proc/uptime file. The first number is the number of seconds the machine has been up, the second is the number of seconds the machine's processes have been idle. -- /chris/ -- 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]
- Re: [PHP] Uptime script? Matthew Schroebel
- Re: [PHP] Uptime script? Christian Reiniger
- RE: [PHP] Uptime script? Ryan Christensen
- Re: [PHP] Uptime script? Ben Gollmer
- Re: [PHP] Uptime script? David VanHorn
- Re: [PHP] Uptime script? Matthew Schroebel
- Re: [PHP] Uptime script? Ryan Christensen
- Re: [PHP] Uptime script? MaD dUCK
- Re: [PHP] Uptime script? Ryan Christensen
- Re: [PHP] Uptime script? MaD dUCK
- Re: [PHP] Uptime script? Christopher Heschong
- Re: [PHP] Uptime script? Steve Werby
- Re: [PHP] Uptime script? MaD dUCK
- Re: [PHP] Uptime script? Billy Harvey
- Re: [PHP] Uptime script? Felix Kronlage
- Re: [PHP] Uptime script? David VanHorn
- RE: [PHP] Uptime script? Ben Cairns
- RE: [PHP] Uptime script? Patrik Wallstrom
- Re: [PHP] Uptime script? Michael Kimsal