Login   Register  
PHP Classes
elePHPant
Icontem

getFileSize: Retrieve and format the size of a file

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-07-14 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 310 All time: 6,483 This week: 1,521Up
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
Age: 32
All time rank: 3354235 in India India
Week rank: 1730 Up122 in India India Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%Total:310All time:6,483
 This week:0This week:1,521Up
 User Comments (1)