Reply to Re: Help - make PHP pull a File List (dir/ls/etc) in a specific directory - print results
Posted by David Haynes on 02/26/06 01:24
henshu wrote:
> Complete n00b question yet again. Anyone know a way to make PHP pull a
> "file list" (know as dir in windows, ls in *nix, etc) for a specific
> directory, and have PHP print the results onto the page?
http://www.php.net/manual/en/ref.dir.php
Look at the opendir, readdir and closedir functions.