Re: How to know files in a directory
| From: | BAROILLER Pierre-Emmanuel | Date: | Sat, 09 Nov 2002 22:35:33 +0000 |
| Subject: | Re: How to know files in a directory | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-123627@lists.php.net to get a copy of this message | ||
use opendir() , and readdir()..
you'll get a var like $file,
then check is_file($file) to see if it's a file :)
(take a look at the php doc.)
"Mohd_q" <ma1420@hotmail.com> a écrit dans le message de news:
OE53AS8qPlU21T1UuOB000022ca@hotmail.com...
I wonder if there is a way to get the files names in a given directory.