Re: Listing for a specific list of files
| From: | David Robley | Date: | Thu, 11 Mar 2004 07:56:44 +0000 |
| Subject: | Re: Listing for a specific list of files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-180112@lists.php.net to get a copy of this message | ||
bclark@equation.co.za (Brent Clark) wrote in
news:4050078E.4080409@equation.co.za:
> Hi there
>
> I need to perform a function whereby I can list a directory (which is I
> can do)
> but the problem is that I want to list only a certain list of files that
> is in the directory.
> for example in linux
> I do a:
> ls -l 00*.pdf
>
> If some one can knows of a url as an example or could help in some way.
> That would be most appreciated
>
> Kind regards
> Brent Clark
>
http://au.php.net/manual/en/function.readdir.php
and look partway down the
user notes where there is an example that just gets image files.