RE: [PHP] I think this is a bug...cant use exec commands.
| From: | Brian Duke | Date: | Fri, 02 Apr 2004 15:59:02 +0000 |
| Subject: | RE: [PHP] I think this is a bug...cant use exec commands. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-182140@lists.php.net to get a copy of this message | ||
> They're different, see manual for details.
The Manual is brilliant.
> exec("free -b", $data ,$result_code);
> print_r($data);
>
> Array
> (
> [0] => total used free shared buffers
> cached
> [1] => Mem: 256917504 249401344 7516160 0 29487104
> 80941056
> [2] => -/+ buffers/cache: 138973184 117944320
> [3] => Swap: 271392768 150523904 120868864
> )
But an example is worth 5000 pages of a manual. That's 2 I owe you Jason.
Thank you Sir.