Question about displaying directories and files

From: Date: Fri, 06 Dec 2002 17:58:31 +0000
Subject: Question about displaying directories and files
Groups: php.general 
Request: Send a blank email to php-general+get-127293@lists.php.net to get a copy of this message
Hi. I have studied the manual, and have scripts that indivudually display a directory (or list of them) and a script that displays scripts in a folder However, I am curious as to how to take all folders in /members directory (It will grow over time, now I have 3) and no matter how many folders are there (each with a zip and gzip file)I want it to display all folders and files inside it on one page Such as, a dynamic way to do this:Directory Azip | gzip Directory Bzip | gzip ... So if there are 10 directories, you see 10 listings like that. If 4, 4 listings and so on. I go to the manual, but can't figure out how to do this *dynamically* what would I physically have to do to make sure a list of directories in my 'list director' script includes the spitout of files and then link to them? _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web!

« previous php.general (#127293) next »