note 98770 deleted from function.filesize by danbrown

From: Date: Tue, 06 Jul 2010 19:30:23 +0000
Subject: note 98770 deleted from function.filesize by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-170739@lists.php.net to get a copy of this message
Note Submitter: matsolof ---- Yet another way to get the size of a folder: <?php $arr = glob('path/to/folder/*'); foreach($arr as $val){$kB = $kB + filesize($val);} echo $kB; ?>

« previous php.notes (#170739) next »