View Full Version : calling files ina directory

12-30-2005, 04:49 PM
I know is ASP there is a function that you can list all the files in a directory, but is there a function in PHP which is similar to that?

12-30-2005, 05:34 PM
opendir (http://www.php.net/opendir)
readdir (http://www.php.net/readdir)
scandir (http://www.php.net/scandir)

Velox Letum
12-30-2005, 07:45 PM
Also, the glob() (http://www.php.net/function.glob) function may be of use to you.