Hello. I know how to read a dir. and files in a dir, but how would I go about doing the following:
Taking 3 folders in my directory (each with 2 files, a zip and a gzip for my users to download)
and have the directories (dira dirb dirc)
listed as such:
dira
zip | gzip
dir b
zip | gzip
dirc
zip | gzip
Those 3 directories are in the /members directory
www.domain.com/members/dira
"" /dirb
""/dirc
So do I do a loop where it reads the dir, and in between before it closes, read the contents. And make the directory value dynamic?
What would you suggest? Of course, I want the gzip/zip to link to the actual files in that directory.
Make sense? Is there an app that does this? Is my logic right? I won't use db's, I don't want to, as it's pointless at this time.
Thanks