Login   Register  
PHP Classes
elePHPant
Icontem

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

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 (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-07-19 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 652 This week: 3All time: 4,484 This week: 659Up
Version License PHP version Categories  
scan-dir 1.0Free for non-commercial...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: 41
All time rank: 261373 in France France
Week rank: 642 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:652All time:4,484
 This week:3This week:659Up