Page 1 of 1

Programming idea help

Posted: Sat Oct 14, 2006 8:36 am
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.

Posted: Sat Oct 14, 2006 8:39 am
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.