PHP Classes

File System: Get a directory listing sorted by several options

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 515 All time: 5,729 This week: 255Up
Version License PHP version Categories
file_system 1.0BSD License5.2.0PHP 5, Files and Folders
Description 

Author

This class can be used to get the listing of a directory sorted by several options.

It can get the listing of a given directory. The listing may contain only files, only directories or both.

The class may sort the listing by entry type, name, date, size and file name extension. The sorting may be either set to ascending or descending order.

It may also take a callback function to implement custom list filtering.

Picture of Jamie Curnow
Name: Jamie Curnow <contact>
Classes: 4 packages by
Country: Australia Australia
Innovation award
Innovation award
Nominee: 2x

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example Script
Accessible without login Image file file.png Icon Image for Example Script
Plain text file file_system.class.php Class The File_System Class file
Accessible without login Image file folder.png Icon Image for Example Script

 Version Control Unique User Downloads Download Rankings  
 0%
Total:515
This week:0
All time:5,729
This week:255Up
User Comments (1)
Solid Class.
13 years ago (Michael Wittie)
70%StarStarStarStar