[Gllug] PHP Guru's

- Tethys tethys at gmail.com
Fri Jul 16 12:17:35 UTC 2010


On Fri, Jul 16, 2010 at 11:55 AM, Sunny Aujla <sunnyfedora99 at gmail.com> wrote:

> Can this be done?
>
> I've retireved file sizes but not directory sizes.

I would have thought you could just do an exec("du") to get the
directory sizes. I'd also have said that PHP is probably the wrong
solution here unless you really have no other choice. If you have user
access to the box, then running a shell script as each user would seem
a much better approach. Or do the users not have shell access?

Tet

-- 
“It seems intuitively obvious to me, which means that it might be
wrong.” -- Chris Torek
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list