detox1978
asked on
PHP: List folders
Hi All,
How do i get a list of folder (not files) within a directory?
Thanks
How do i get a list of folder (not files) within a directory?
Thanks
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Are you using a valid folder location for $directory in mine, or in getAllFoldersIn("/path/to/ my/folder" ); in gr8Gonzo's scripts?
ASKER
I've tried both the relative and local path.
ASKER
The path had to have an asterix after the forward slash.<br /><br />Thanks
ASKER