PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 765 All time: 4,413 This week: 21Up
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: 51
All time rank: 271875 in France France
Week rank: 312 Up15 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:765
This week:0
All time:4,413
This week:21Up