Screenshots:
![[Image: QfcVp.jpg]](https://i.imgur.com/QfcVp.jpg)
Description: Display files from a folder with PHP using a recursive function, this means it doesn't mater how complicated your directory tree is, it will always work.
Nice CSS styling and user friendly, collapse/uncollapse folders by clicking on them, or collapse/uncollapse ALL folders using the appropriate button, view file size, choose which directory to list, among other things.
Custom icons for different file types, only included: avi, mov, gif, png, jpg, php, txt, rar. But if you need more just ask, I have pretty much every file type there is, just didn't want to bloat this with loads of images.
RAR size: 68.5Kb
Files included:
Known bugs: none, but it can take a while if you have loads of files, takes 3-4 seconds to display 2000 files.
Hope this is useful for someone, if you develop a system that needs uploaded files to be listed in a nicely styled manner this might be it.
![[Image: QfcVp.jpg]](https://i.imgur.com/QfcVp.jpg)
Description: Display files from a folder with PHP using a recursive function, this means it doesn't mater how complicated your directory tree is, it will always work.
Nice CSS styling and user friendly, collapse/uncollapse folders by clicking on them, or collapse/uncollapse ALL folders using the appropriate button, view file size, choose which directory to list, among other things.
Custom icons for different file types, only included: avi, mov, gif, png, jpg, php, txt, rar. But if you need more just ask, I have pretty much every file type there is, just didn't want to bloat this with loads of images.
RAR size: 68.5Kb
Files included:
- file_tree.css
- file.class.php
- file_tree_collapse.js
- index.php
- Lots of .png icons
Known bugs: none, but it can take a while if you have loads of files, takes 3-4 seconds to display 2000 files.
Hope this is useful for someone, if you develop a system that needs uploaded files to be listed in a nicely styled manner this might be it.
