function dir_size($file) {
//tested on win 7x64 php 5.4
exec('dir /s /a "' . $file.'"', $inf);
$r=explode(' ',$inf[count($inf)-2]);
$rr = preg_replace('~[^\d]+~','',$r[count($r)-2]);
return $rr;
}
function dir_size($file) {
//tested on win 7x64 php 5.4
exec('dir /s /a "' . $file.'"', $inf);
$r=explode(' ',$inf[count($inf)-2]);
$rr = preg_replace('~[^\d]+~','',$r[count($r)-2]);
return $rr;
}