By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,043 Members | 1,135 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,043 IT Pros & Developers. It's quick & easy.

Recursive walk trough directories

P: n/a
I've a directory structure where I store images.

0-999:
images/0/
then
images/0/0/
then
images/0/0/0-1.jpg
images/0/0/0-2.jpg
images/0/0/0-3.jpg

1000-1999:
images/1/
then
images/1/0/
then
images/1/0/1000-1.jpg
images/1/0/1000-2.jpg
images/1/0/1000-3.jpg
I've quite 1500 levels like this
I must list all X-1.jpg in the three.

How to do so ?

Jul 17 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Bob Bedford <be******@notforspammershotmail.com> wrote:
I've a directory structure where I store images.
I've quite 1500 levels like this
I must list all X-1.jpg in the three.

How to do so ?


See user contribs on http://nl2.php.net/manual/en/function.opendir.php
There are recursive dir listings in there.

Jul 17 '05 #2

P: n/a
For recursive/automatic image-page generation,
complete with navigation for images, subdirs and Up links,
search for Robopages at phpclasses.org

Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.