[thelist] PHP directory listing function

Carl J Meyer cjmeyer at npcc.net
Mon Dec 30 11:21:01 CST 2002


Hi Dan,

On Mon, 2002-12-30 at 09:12, Daniel Fascia wrote:
> Im trying to make a PHP script that grabs an array of all the filenames
> in a directory, strips the _ and .html and then creates links to these files...
>
> the last bits are fine its just how to actually grab the filenames in a dir
> when they are unknown that Im stuck with, any ideas??

http://www.php.net/opendir

And related functions.  The online PHP manual is your best friend.

Carl




More information about the thelist mailing list