Re: read all files in directory
| From: | Lars Torben Wilson | Date: | Sat, 11 May 2002 22:49:51 +0000 |
| Subject: | Re: read all files in directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-97180@lists.php.net to get a copy of this message | ||
On Sat, 2002-05-11 at 15:39, Andreas Indahl wrote:
> Hi!
>
> How can I read all files in a directory, when I don't know which files are
> there?
>
> Sincerely
> Andreas Indahl
Try some of the examples from the manual:
http://www.php.net/manual/en/function.opendir.php
http://www.php.net/manual/en/class.dir.php
Cheers,
Torben
--
Torben Wilson <torben@php.net>
http://www.thebuttlesschaps.com
http://www.hybrid17.com
http://www.inflatableeye.com
+1.604.709.0506