tags:

views:

113

answers:

2

i want to know how to get mp3 file details(like artist,title,album and etc).

thanks and advance....

A: 

Have a look at getID3 : http://getid3.sourceforge.net/

wimvds
+1  A: 

There is a PECL extension and a PEAR package for ID3 tags:

For getting the files out of the folder, have a look around SO, as it has been covered multiple times. You likely want to glob() all MP3 files. Or use a DirectoryIterator in case you want to check by MimeType instead of extension.

Gordon