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...
You are not logged in. Please login or register.
PunBB Forums → Programming → 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...
No,
I remember a few worse
Anyway, have a look at php.net, there is a documentation.
Search for opendir() and readdir(), it will give you exactly what you want.
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)
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
PunBB Forums → Programming → PHP function that will automatically list the files of a directory?
Powered by PunBB, supported by Informer Technologies, Inc.