ok so:
$var = disc_total_space('mydirectory');
echo ($var/1073741824); // 1024*1024*1024
?
It kind of works but it's messing up, I am trying to get the folder size for three folders, '/', '/images', '/uploads', and it all returns the same number. Why?