PHP Uptime error
| From: | Peter Phillips | Date: | Mon, 25 Jun 2001 01:54:25 +0000 |
| Subject: | PHP Uptime error | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-55073@lists.php.net to get a copy of this message | ||
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?
Thanks.
--
"Keyboard not detected, press F1 to continue..."