1

Topic: PHP function that will automatically list the files of a directory?

does such a function exist?

sorry, this might be the most stupid thing ever written in this forum...

2

Re: PHP function that will automatically list the files of a directory?

No,
I remember a few worse wink

Anyway, have a look at php.net, there is a documentation.
Search for opendir() and readdir(), it will give you exactly what you want.

The German PunBB Site:
PunBB-forum.de

Re: PHP function that will automatically list the files of a directory?

I use that to generate a dropdownlist on my "Image Awards" mod. so you can probably peak in that code to see how I can fetch the content from a directory  (the admin plugin code)

4 (edited by stewy 2005-08-22 02:28)

Re: PHP function that will automatically list the files of a directory?

thanks for the tips guys!

I'm just a newb php guy, but i have been playing around a bit.

http://www.freepgs.com/stewy/scripts/gallery

edit: fixed the link! oops tongue