Re: Question about displaying directories and files
| From: | Justin French | Date: | Sun, 08 Dec 2002 00:22:15 +0000 |
| Subject: | Re: Question about displaying directories and files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127406@lists.php.net to get a copy of this message | ||
Is your question about dynamically listing the contents of all directories
and/or files below the /members/ dir, or is your question about unzipping
zipped files?
I *think* it's the former, in which case, you should play around with some
of the code examples on zend.com (http://www.zend.com/codex.php?CID=283).
Cheers,
Justin
on 07/12/02 4:58 AM, biz98@excite.com (biz98@excite.com) wrote:
> 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!
>
Justin French
--------------------
http://Indent.com.au
Web Development &
Graphic Design
--------------------