List all subdirectories, subdirectory's directories as list
Posted on 2008-10-15
I have a directory structure like this one
each name directory has a bunch of subdirectories and files that we don't need to consider
I need a php script that can read the contents of the main folder and print out a list in a similar fashion:
Until no more categories are found. How can i achieve this?
Thank you very much