List of Files in Folder

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tayhaithian
Forum Newbie
Posts: 4
Joined: Wed Apr 08, 2009 4:28 pm

List of Files in Folder

Post by tayhaithian »

I wonder how to create the Index of Files in php/html so it will actually "list out the files contained in your folder"
when I google with the word Index of Files it give how to create mainpage or my keyword is wrong perhaps ?
Hope to have a correct way of doing it thank you in advance.
Gargoyle
Forum Contributor
Posts: 130
Joined: Wed Jul 14, 2010 12:25 am

Re: List of Files in Folder

Post by Gargoyle »

check this out:
http://www.thelampblog.com/2010/03/07/g ... dor-files/

this can easily be adapted to just list php/html files.
Post Reply