Login   Register  
PHP Classes
elePHPant
Icontem

Disk Usage: Calculate the disk space usage of a directory

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-11-17 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 459 This week: 1All time: 5,544 This week: 1,398Up
Version License PHP version Categories  
disk-usage 1.0GNU General Public Lice...5.2PHP 5, Files and Folders
Description Author  

This class can be used to Calculate the disk space usage of a given directory.

It can traverse a given directory recursively and count the total number of directories, files and their sizes.

The class can also format the size value in bytes, KB MB or GB.

Picture of Nitesh Apte
Name: Nitesh Apte is available for providing paid consulting. Contact Nitesh Apte .
Classes: 12 packages by
Country: India India
Age: 30
All time rank: 23614 in India India
Week rank: 120 Up16 in India India Down
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Files folder image Files  
File Role Description
Plain text file class.DiskUsage.php Class Find the disk usage
Accessible without login Plain text file index.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%Total:459All time:5,544
 This week:1This week:1,398Up
 User Comments (1)  
 
Elegant and clean,
4 years ago (RicardoSaracino)
67%StarStarStarStar