I want to access all files and folders in a specific directory on server (for eg. “home”). Is there a way to do it? or i just need to say everything in database?
Also i want to create a kind of File Manager that manages all the files and folders in a specific directory on server (for eg. “home”) like on windows we have file explorer.
Please help me…
Thank you for any help
Regards
try this simple php snippet and customize it your own way:
it’ll output all the files & folders(not the subfolder files) in the current/provided dir.