Greetings learned PHP(eople);

Is there a way to calculate the size of directory in PHP ?

I searched php.net and only found ways of opening directories and
reading file sizes....

One suggestion on there was to do the following :

$mstrng = shell_exec('du -sc /backup/');
echo '<pre>' . $mstrng . '<pre>';

When I do that my browser hangs endlessly....mind you, it also hangs
when I run du -sc from the command line...

Any pointers muchly appreciated...

-- 
Chris Blake
Office : (011) 782-0840
Cell : 083 985 0379

Anger kills as surely as the other vices.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to