function fSize($file){
    $file = $_SERVER['DOCUMENT_ROOT'].$file;
    $FZ = ($file && @is_file($file)) ? filesize($file) : NULL;
    $FS = array("B","kB","MB","GB","TB","PB","EB","ZB","YB");
    return number_format($FZ/pow(1024, $I=floor(log($FZ, 1024))), ($i >= 1) ? 2 : 0) . ' ' . $FS[$I];
}
function fSize($FZ){
    $FS = array("B","kB","MB","GB","TB","PB","EB","ZB","YB");
    return number_format($FZ/pow(1024, $I=floor(log($FZ, 1024))), ($i >= 1) ? 2 : 0) . ' ' . $FS[$I];
}