I have a directory, call it "dir". I want to echo a list of folders within that directory. Not files, just folders, and all of them. "dir" is a subdirectory of "main". Let's say "main" is located at mysite.com/main, and the script to be written will be located in main. How would I go about doing this? It may not be done with the PHP5 way, unfortunately. Thanks for any help. 😃