View Single Post
  #2 (permalink)  
Old 06-28-09, 06:54 PM
Jcbones Jcbones is offline
Aspiring Coder
 
Join Date: Mar 2009
Location: North Carolina, USA
Posts: 516
Thanks: 5
Thanked 47 Times in 44 Posts
You are not very clear on what you would like to do.

You are listing all files in a directory named themes.

Your title says you would like to list folders in a list box. But then you ask to list directory recursively(which you are doing).

Or is the problem that you are also getting directory names from inside that folder, and not just files?

If so, you can solve that problem with is_dir();
Reply With Quote