note 54698 modified in function.filesize by aidan
| From: | aidan@php.net | Date: | Sun, 18 Dec 2005 07:43:17 +0000 |
| Subject: | note 54698 modified in function.filesize by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-100364@lists.php.net to get a copy of this message | ||
This function uses a stack array to get the size of a directory.
http://aidan.dotgeek.org/lib/?file=function.dirsize.php
You can convert this to a human readable size using:
http://aidanlister.com/repos/v/function.size_readable.php
For a faster (unix only) implementation, see function.disk-total-space, note #34100
http://www.php.net/manual/en/function.disk-total-space.php#34100
--was--
This function uses a stack array to get the size of a directory.
http://aidan.dotgeek.org/lib/?file=function.dirsize.php
For a faster (unix only) implementation, see function.disk-total-space, note #34100
http://www.php.net/manual/en/function.disk-total-space.php#34100
http://php.net/manual/en/function.filesize.php