PHP Classes / getFileSize

Retrieve and format the size of a file

getFileSize PHP Class

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.

Similar PHP Classes

Search in PHP Classes

Filter by tags