run du command uder php
| From: | Mark Lo \(3\) | Date: | Sat, 28 Apr 2001 08:56:36 +0000 |
| Subject: | run du command uder php | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50737@lists.php.net to get a copy of this message | ||
Hi,
I would like to know how to run du command under PHP.
is this correct ??
exec ("du -ks /home/apache",$test[]);
echo $test[0]; --> I would like to print out the result in web browser
Thank you
Mark