\PHP
file_size_fmat.php
This function formats a size in bytes to anything in the range of KB, Mb, GB, and Tb. Example: echo size_format(filesize(".")); Questions, Contact JoshS@santsys.com