Re: PHP Uptime error
| From: | billt | Date: | Mon, 25 Jun 2001 08:08:12 +0000 |
| Subject: | Re: PHP Uptime error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-55117@lists.php.net to get a copy of this message | ||
On Mon, Jun 25, 2001 at 11:54:25AM +1000, Peter Phillips wrote:
> I have a PHP script with the following code in it;
>
> $uptime = passthru ("/usr/bin/uptime");
>
> but when I load the PHP page I get the following;
>
> 8:26pm up 0 min, 0 users, load average: 0.00, 0.00, 0.00
>
> which is wrong (I have checked the uptime via telnet). Can anybody please
> help me try and fix this?
What operating system?