Taking an HTML form and a PHP program and making it into one working file.

Posted on 16th Feb 2014 by admin

Hello,

So I would like to display everything INSIDE a specific directory. In other words, I would like to display all file name's inside all subfolders in a specific directory. (NOT the subfolder itself...but whats inside. See example.)

Example:
The ROOT directory is: /root/
The directory that ALL folder's will be located is: /root/folder_names/
I have several subfolders: /root/folder_names/folder 1, /root/folder_names/folder 2, /root/folder_names/folder 3, and so on.

I would like it to display all FILE NAMES in folder 1, folder 2, folder 3; but not the folders. How would I do this? Thanks so much for the help

Other forums