Home > Archive > PHP SQL > February 2006 > Help - make PHP pull a File List (dir/ls/etc) in a specific directory
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Help - make PHP pull a File List (dir/ls/etc) in a specific directory
|
|
| henshu 2006-02-25, 6:57 pm |
| 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?
| |
| David Haynes 2006-02-25, 6:57 pm |
| 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.
-david-
|
|
|
|
|