note 21699 added to ref.dir
| From: | Bill at Example dot net | Date: | Thu, 23 May 2002 16:20:29 +0000 |
| Subject: | note 21699 added to ref.dir | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-30949@lists.php.net to get a copy of this message | ||
Just a side note....not really php'ish
$mstrng = shell_exec('du -sc /usr/local/apache/www');
print "$mstrng";
Will get you the size of a directory, including all of its sub dirs and files within.
--
http://www.php.net/manual/en/ref.dir.php
http://master.php.net/manage/user-notes.php?action=edit+21699
http://master.php.net/manage/user-notes.php?action=delete+21699
http://master.php.net/manage/user-notes.php?action=reject+21699