Login   Register  
PHP Classes
elePHPant
Icontem

Directory and file info: Retrieve information about files and directories

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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-09-08 (8 years ago) RSS 2.0 feedStarStarStarStar 71%Total: 4,534 This week: 1All time: 564 This week: 1,420Down
Version License Categories  
directory_info 1.0.0GNU Lesser General Publ...Files and Folders
Description Author  

This class can be used to retrieve information about files and directories.

It can:

- Retrieve an array with the list files in a given directory with several details like the file names, file sizes, last access date, last modified date, etc.
- Optionally traverse the given directory recursively to list files contained in sub-directories
- Filter the listing by file name extension, MIME type, last modified and last accessed dates.
- Filter a listing with additional criteria to create a more restricted listing
- Sort the retrieved listing
- Determine the most recently changed file
- Calculate the size of the files in a given directory listing
- Retrieve the size, last modified and last access data, permissions, owner and MIME type of a file in in a human readable format

Picture of Juliette Reinders Folmer
Name: Juliette Reinders Folmer <contact>
Classes: 2 packages by
Country: The Netherlands The Netherlands
Age: 41
All time rank: 51615 in The Netherlands The Netherlands
Week rank: 1090 Down28 in The Netherlands The Netherlands Down

  Files folder image Files  
File Role Description
Files folder imagedocumentation (1 file)
Files folder imageexample (1 file)
Plain text file directoryinfo.inc.php Class The class
Plain text file directoryinfo_nodoc.inc.php Class Class file without the docblock documentation

  Files folder image Files  /  documentation  
File Role Description
  Accessible without login HTML file directory_info.html Doc. Full documentation of all class methods and variables

  Files folder image Files  /  example  
File Role Description
  Plain text file example.php Example Example page which demonstrates some of the class uses

 Version Control Unique User Downloads Download Rankings  
 0%Total:4,534All time:564
 This week:1This week:1,420Down
User Ratings User Comments (2)  
 All time
Utility:91%StarStarStarStarStar
Consistency:80%StarStarStarStarStar
Documentation:91%StarStarStarStarStar
Examples:86%StarStarStarStarStar
Tests:-
Videos:-
Overall:71%StarStarStarStar
Rank:151