Directory Indexer

-> * NEW lophty directory indexer 2.0.3, March 10, 2003 (31 Kb)
-> previous version : lophty directory indexer 1.5.2, Sept 20, 2002 (12.4 Kb)

Highly configurable file listing for directories. A PHP class that can be used with a few more lines of PHP to produce standalone index pages for directories or to collect listing information for use within dynamic sites. Specific files and directories can be excluded from listing. File listing can be restricted by file extension (i.e. list only files with certain extensions or list all files except for those with particular extensions) and subdirectory listing can be switched on or off altogether. Substitute your own custom file bullet images for the default for the files with extensions that you select.



Demos (all included in the zip archive)

  1. index the current directory
  2. index the current directory (and show the file that invokes the indexer)
  3. index one directory and substitute a custome bullet image for all jpeg files
  4. index two directories
  5. index two directories, but block the listing of txt files in one of the dirs
  6. block subdir listing for one dir
  7. index two directories, and show only jpeg files in one dir