RE: [PHP] dir size

From: Date: Fri, 03 Oct 2003 18:48:58 +0000
Subject: RE: [PHP] dir size
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164950@lists.php.net to get a copy of this message
On Fri, 2003-10-03 at 14:45, Jay Blanchard wrote: > [snip] > is it possible to count a size of a dir and all sub dirs in php ? and > if, > how? > [/snip] > > $foo = exec("du -h"); > Hmmm this solution would appear to include the file sizes :D Rob -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#164950) next »