exec(uptime);
or
system(uptime);
Tyler
> -----Original Message-----
> From: Ryan Christensen [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 15, 2001 11:43 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Uptime script?
>
>
> I know I've seen one before, and before I go write my own version, does
> anyone know of a PHP script that echoes the uptime of a server (Linux) in
> days,hour,minutes, etc?
>
> Thanks!
>
> ----------------------------
> Ryan Christensen
>
>
> --
> 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]
>
--
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]