Whiteknight
02-28-2004, 06:45 PM
I'm writting a script that works as an Image gallery for a website. what it does is glob() all the files in a directory that have common image extensions(jpg, gif, png etc) and writes out an html page for them all.
that part of my script works perfectly.
what I want my script to do, is to glob together all the sub-folders, in a separate glob.
the idea being that the script will write out links to each sub-folder dynamically. the idea is to keep this script as portable as possible.
any ideas?
that part of my script works perfectly.
what I want my script to do, is to glob together all the sub-folders, in a separate glob.
the idea being that the script will write out links to each sub-folder dynamically. the idea is to keep this script as portable as possible.
any ideas?