File System
Get (Human Readable) File Size
<?php
function MakeReadable($bytes) {
$i = floor(log($bytes, 1024));
return round($bytes / pow(1024, $i), [0,0,2,2,3][$i]) . ['B','kB','MB','GB','TB'][$i];
}
Example
echo MakeReadable(120030005.12);
114.47MB