Programming idea help

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
ubertoast
Forum Newbie
Posts: 1
Joined: Sat Oct 14, 2006 8:33 am

Programming idea help

Post by ubertoast »

Ok, i want to accomplish something, but i am not sure how it can be done using php.

What i want to do is have, for example, a folder with music in it. What i want to do is use a loop in php to get all the file names from the folder and construct links to the files from that. And also, is there a way to retreive file information in php? to get author, title and all that.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

glob() or opendir()/readdir()

As for file information, there's nothing native that will just get the information. getID3 is a library that may be of interest.
Post Reply