Directory structure
| From: | Gordon Stewart | Date: | Wed, 07 Nov 2001 16:10:51 +0000 |
| Subject: | Directory structure | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-73749@lists.php.net to get a copy of this message | ||
Dear list
I have a directory structure with several layers and I would like to process
the files in those directories. I would like my php program to look in these
directories and report how many files there are in each directory. Is there
a way of doing this at run time. My directory structure will change every
time the php script is run? I have had a look at opendir and readdir and as
I can see it is only for one directory level.
Thanks
Gordon