View Full Version : file links in list

02-05-2007, 11:28 AM
basically what i want to do is store files in a non web accessable folder and thn in a page show links to those files in a list.
what i was wanting to know is could i use a script so when i upload more files to that folder they automatically add into the list?

basically show a folder contents in a list in a page!


02-05-2007, 12:57 PM
welcome here!

check out http://www.php.net/manual/tr/function.readdir.php and http://www.php.net/manual/tr/function.scandir.php (php 5). the usercomments contain plenty os listing scripts