Index: temp/trunk/html/test/uehara/tree.php
===================================================================
--- temp/trunk/html/test/uehara/tree.php	(revision 8582)
+++ temp/trunk/html/test/uehara/tree.php	(revision 8583)
@@ -71,5 +71,5 @@
 					$arrFileList[$cnt]['file_name'] = $file;
 					$arrFileList[$cnt]['file_path'] = $dir."/".$file;
-					$arrFileList[$cnt]['file_size'] = filesize($dir."/".$file);
+					$arrFileList[$cnt]['file_size'] = getDirSize($dir."/".$file);
 					$arrFileList[$cnt]['file_time'] = date("Y/m/d", filemtime($dir."/".$file)); 
 					$cnt++;
@@ -84,4 +84,21 @@
 
 /* 
+ * ´Ø¿ôÌ¾¡§getDirSize()
+ * ÀâÌÀ¡¡¡§»ØÄê¤·¤¿¥Ç¥£¥ì¥¯¥È¥ê¤Î¥Ð¥¤¥È¿ô¤ò¼èÆÀ
+ * °ú¿ô1 ¡§¥Ç¥£¥ì¥¯¥È¥ê¥Ñ¥¹³ÊÇ¼ÇÛÎó
+ */
+function getDirSize($dir) { 
+    $handle = opendir($dir); 
+    while ($file = readdir($handle)) { 
+        if ($file != '..' && $file != '.' && !is_dir($dir.'/'.$file)) { 
+            $bytes += filesize($dir.'/'.$file); 
+        } else if (is_dir($dir.'/'.$file) && $file != '..' && $file != '.') { 
+            $bytes += getDirSize($dir.'/'.$file); 
+        } 
+    } 
+    return $bytes; 
+} 
+
+/* 
  * ´Ø¿ôÌ¾¡§lfErrorCheck()
  * ÀâÌÀ¡¡¡§¥¨¥é¡¼¥Á¥§¥Ã¥¯
