[thelist] PHP- get list of files in directory?

Stephen Rider evolt_org at striderweb.com
Tue Mar 13 10:16:15 CDT 2007

On Mar 13, 2007, at 9:40 AM, Jay Blanchard wrote:

> [snip]
> Is there a way to get a list of files in a particular directory using
> PHP?  I would preferably like to end up with an array containing the
> name of each file found.
> [/snip]
> Have you Read The Fine Manual? http://www.php.net/readdir

Didn't know what function to read up on!  PHP n00b walking, here.

Thanks to Jay and Rick.


More information about the thelist mailing list