Posted by David Haynes on 04/24/06 15:35
mail2ganeshguru@gmail.com wrote:
> Friends,
>
> i want to calculate the size of the folders. Please give me some
> suggestion in this.
>
> thanks
> Ganesh.G
>
The size of the folder = sum of size of files + sum of size of
subfolders. See:
dir - http://www.php.net/manual/en/ref.dir.php
fstat - http://www.php.net/manual/en/function.fstat.php
and a good tutorial on recursion.
-david-
Navigation:
[Reply to this message]
|