Fastest or easiest way of getting conents of a 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
User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Fastest or easiest way of getting conents of a folder

Post by a94060 »

Hi,

basically,im asking what would be the fastest way of listing all the files in a directory. I would like to use this list and then convert it into a mysql file so that i oculd import all the values in there. This way i could also add a search function to it.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

User avatar
a94060
Forum Regular
Posts: 543
Joined: Fri Feb 10, 2006 4:53 pm

Post by a94060 »

would this list that is made be able to be given to mysql so that it would add it into the specific rows?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

that would depend on how you use it, but yes.
Post Reply