[eluser]polaris1927[/eluser]
Thanks for the reply
Yes, I am able to get the folder and file names, but I want the path to those sub folders. for example
if $path = '/home/test';
--Main folder (array)
--- Sub folder 1 (array)
------- sub folder 1.1 (array)
--- Sub fouler 2 (array)
------- Sub folder 2.1 (array)
------- sub folder 2.2 (array)
Using directory_map returns folders as arrays; I need the actual path of the sub folders
/home/test/Main folder
/home/test/Main folder/Sub folder 1
/home/test/Main folder/sub folder 1/sub folder 1.1