1
Hi! Here it goes..
database + PHP files ---> path of folder in server
after pointing to the path of the server folder, it will make a list of all the files in that folder and folders inside the folder from path will be its subfolder, as it displays the filename (exept for the extensions the administrator doesn't allow), file size, and number of downloads (if possible, also descriptions).
Options: #1 leech protect files/ allow leeching
#2 extensions to prevent from visibility