You could use a recersive function that use the filesize function.

http://www.php.net/manual/en/function.filesize.php

Dimitri over there posted this function:
Code:
function dir_size($dir) {
   $totalsize=0;
   if ($dirstream = @opendir($dir)) {
       while (false !== ($filename = readdir($dirstream))) {
           if ($filename!="." && $filename!="..")
           {
               if (is_file($dir."/".$filename))
                   $totalsize+=filesize($dir."/".$filename);
              
               if (is_dir($dir."/".$filename))
                   $totalsize+=dir_size($dir."/".$filename);
           }
       }
   }
   closedir($dirstream);
   return $totalsize;
}
I haven't tested it but I guess it will work.