function tamanoDirectorio($dir){ $tamano=disk_total_space($dir); $mb_tamano=$tamano/1048576; return $mb_tamano; }