Need a recursive procedural (NOT Object-Oriented) PHP function built to read names and paths of ALL directories from the root of a site and output an array with each value being a directory name and path -- NO FILES.? In other words, the results might look something like this, with each line representing a value in the array:
/
/documents
/documents/pdfs
/documents/word files
/documents/word files/november
/documents/word files/november/drafts
/images
/images/buttons
/images/logos
/includes
/includes/javascript
/includes/javascript/scriptaculous
/styles