PHP Classes

List content of directory: Retrieve the list of files of a directory

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 2,252 All time: 1,725 This week: 350Up
Version License PHP version Categories
listdir 1.0GNU General Publi...3.0Files and Folders
Description Author

This class can be used to retrieve the list of files contained in a given directory and its sub-directories.

It traverses a directory recursively and writes the names of the files that it finds to a given output file name.

Picture of Huynh Hai Huynh
Name: Huynh Hai Huynh <contact>
Classes: 2 packages by
Country: Viet Nam Viet Nam
Age: 37
All time rank: 10764 in Viet Nam Viet Nam
Week rank: 518 Up7 in Viet Nam Viet Nam Down

  Files folder image Files  
File Role Description
Plain text file class.listdir.php Class Source
Accessible without login Plain text file usage.php Example Usage file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,725
This week:350Up
 User Ratings  
 All time
For more information send a message to info at phpclasses dot org.