PHP Classes

PHP ScanDir Files: Get the list of files from a directory recursively

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-07-19 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 705 This week: 2All time: 4,405 This week: 687Up
Version License PHP version Categories  
scan-dir 1.0Free for non-comm...5.0PHP 5, Files and Folders
Description Author  

This class can get the list of files from a directory recursively.

It can traverse a given directory and optionally its subdirectories to extract the list of files that use certain file name extensions.

The class can optionally return the details of the files that were found like the filename including the full path of parent directory names, file size, date, permissions, base name and extension name.

The class can also return the total number of files that were found, as well the total size of all files.

Picture of GARCIA Jean-François
Name: GARCIA Jean-François <contact>
Classes: 1 package by
Country: France France
Age: 42
All time rank: 261373 in France France
Week rank: 641 Up23 in France France Up

  Files folder image Files  
File Role Description
Plain text file Class_ScanDir.php Class definition file for the Class ScanDir
Accessible without login HTML file Documentation_ScanDir.html Doc. Documentation about the class
Accessible without login Plain text file example.php Example Example use of Scandir Class

 Version Control Unique User Downloads Download Rankings  
 0%Total:705All time:4,405
 This week:2This week:687Up