Re: PHP script + read file
| From: | Gerhard Meier | Date: | Sat, 20 Nov 2004 21:32:41 +0000 |
| Subject: | Re: PHP script + read file | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202568@lists.php.net to get a copy of this message | ||
On Sat, Nov 20, 2004 at 09:11:41PM +0000, Jerry Swanson wrote:
> I know how to read a file. But the problem is different, I have
> directory that has more than 250 files. I need to read each file and
> process it. But How I know what file to read?
> ls -l (show all files). How I can select each file without knowing
> name? The file will be process and than delete.
Look at http://www.php.net/manual/en/function.opendir.php
/GM