CSmith1128 Posted May 19, 2008 Share Posted May 19, 2008 Hey... I have a site that allows users to upload a short mp3 file to a folder on my site. The file gets uploaded, stored in the folder, and information is entered into a database. I was wondering if it is possible to find out the length of the mp3 file so I can store it in the database? Is it possible? Thanks! Chris Link to comment https://forums.phpfreaks.com/topic/106241-getting-mp3-information/ Share on other sites More sharing options...
MadTechie Posted May 19, 2008 Share Posted May 19, 2008 Yes is possible, but a pain your need to find the MP3 decode spec's and write a php decoder (just a rough one as your only after the the length nothing more, you could try googling "MP3 decode specs" or if your luck try "php mp3 id3" Link to comment https://forums.phpfreaks.com/topic/106241-getting-mp3-information/#findComment-544524 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.