I'm trying to use php to find out the legnth of an audio file for a podcast site i help run, so i do not need to manually keep editing the xml feed to itunes.
Now how using php can i do this easily.
Preferably with examples.
Thanks![]()
I'm trying to use php to find out the legnth of an audio file for a podcast site i help run, so i do not need to manually keep editing the xml feed to itunes.
Now how using php can i do this easily.
Preferably with examples.
Thanks![]()
PHP has no built-in support for handling MP3s, and X10 doesn't have installed any PHP extensions for MP3s. You could try installing getID3. Perl modules might be easier to install & get working.
Last edited by misson; 02-02-2010 at 06:31 PM.
Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.Misson, not Mission.