RE: [PHP] php / unix functions
| From: | Martin Towell | Date: | Wed, 18 Dec 2002 02:38:49 +0000 |
| Subject: | RE: [PHP] php / unix functions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-128623@lists.php.net to get a copy of this message | ||
the only other way I know is to use: $output =
$cmd; (ie, backticks)
-----Original Message-----
From: Greg [mailto:gregchagnon@hotmail.com]
Sent: Wednesday, December 18, 2002 1:27 PM
To: php-general@lists.php.net
Subject: [PHP] php / unix functions
Hi-
Is there a built in way, besides using exec and system, to get the output
from commands like 'uptime' and 'df' on a linux system? Thanks!
-Greg
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php