listing all directories

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
itsmani1
Forum Regular
Posts: 791
Joined: Mon Sep 29, 2003 2:26 am
Location: Islamabad Pakistan
Contact:

listing all directories

Post by itsmani1 »

Here is my direcoty Structure

ABC
|_JK
| |_child
| | |__mannan.html
| | |__jk.html
| |_pop.html
|_xyz.html


now here are few html files and fiew directories Now i want to access directoires only. i don't need html files, i need list if folders in an order.


thanks.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

glob() if available.
Post Reply