getFileSize

Package:
getFileSize
Summary:
Retrieve and format the size of a file
Groups:
Files and Folders, PHP 5
Author:
Subhranil Dalal
Description:
This class can be used to retrieve and format the size of a file.

It gets the size of a given file and converts it to a give unit.

Currently it supports formatting sizes in KB, MB, GB, TB, PB, EB, ZB and YB.

The number of decimal cases is configurable.


Powered by Gewgley