PHP Classes

getFileSize: Retrieve and format the size of a file

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 314 All time: 7,273 This week: 455Up
Version License PHP version Categories
getfilesize 1.0Freeware5.0PHP 5, Files and Folders
Description 

Author

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.

Picture of Subhranil Dalal
Name: Subhranil Dalal <contact>
Classes: 1 package by
Country: India India

 

  Files folder image Files (1)  
File Role Description
Accessible without login Plain text file get_convert_file_size.php Class Get and convert file size in bytes/KB/MB/GB etc

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:314
This week:0
All time:7,273
This week:455Up
User Comments (1)