note 50664 deleted from function.filesize by aidan
| From: | aidan@php.net | Date: | Wed, 13 Jul 2005 03:15:47 +0000 |
| Subject: | note 50664 deleted from function.filesize by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-91850@lists.php.net to get a copy of this message | ||
Note Submitter: Raphael Kirchner
----
I just tested the dirsize() function posted below by Daniellehr and found out it's not working.
I assume it should return the same as the Unix command "du -b" but it doesn't. In my
tests it returned some 4.15 MB for a dir that is actually 10.23 MB big, or 302 kB for
"real" 220 kB in another one.
And Snoop Baron's fix (inserting $dirName) is none - it just stops it from working recursively.