You are here: Re: How to get the given directory size? « PHP Programming Language « IT news, forums, messages
Re: How to get the given directory size?

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация