unknown101 Posted February 6, 2008 Share Posted February 6, 2008 Hi Guys, Im working on a project where I need to extract the id3 tags from an mp3 file which is uploaded via a website. WHen the upload button is hit the necesary data will be extracted i.e. Artist / Album / Genre .. etc. The file itself and the details will be all stored within a SQL db. I have been looking at some example code at http://www.phpclasses.org, but its not quite the same as what I want to achieve. My first question is: Do I need to make any changes with the php installation to work with id3 tags? Second question is a bit more general, basically does anyone have any experience with something similar they have done? If so could you give me any pointers or sites which I may find useful. Havent found too many useful sites as of yet, Cheers Link to comment https://forums.phpfreaks.com/topic/89730-extracting-id3-tags-from-mp3-files/ Share on other sites More sharing options...
craygo Posted February 6, 2008 Share Posted February 6, 2008 try here http://getid3.sourceforge.net/ Link to comment https://forums.phpfreaks.com/topic/89730-extracting-id3-tags-from-mp3-files/#findComment-459826 Share on other sites More sharing options...
thebadbad Posted February 6, 2008 Share Posted February 6, 2008 Got just what you need I guess: getID3(). I've used it for a project, and it only requires PHP 4.2.0 (for the latest stable release); you won't need to install any new PHP modules. Download it and check out the simple demos. I got it working to my needs pretty fast. Damn, that guy was faster ^^ Link to comment https://forums.phpfreaks.com/topic/89730-extracting-id3-tags-from-mp3-files/#findComment-459827 Share on other sites More sharing options...
unknown101 Posted February 7, 2008 Author Share Posted February 7, 2008 Thanks for the link guys, looks alot better compared to the other things I have come across! Link to comment https://forums.phpfreaks.com/topic/89730-extracting-id3-tags-from-mp3-files/#findComment-460634 Share on other sites More sharing options...
unknown101 Posted February 12, 2008 Author Share Posted February 12, 2008 Hi there, In what type of scenario did you use getID3 thebadbad? Basically In my case users will be uploading tracks to an SQL db from a web interface which then extracts the necessary info. I havent actually attempted this yet but have been looking through the code / examples and its quite daunting to say the least! Im still learning php so any pointers using this for the above would be appreciated, Regards Link to comment https://forums.phpfreaks.com/topic/89730-extracting-id3-tags-from-mp3-files/#findComment-464738 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.