How I can get the length of an audio file in php.
If it\'s too hard to do in php then any other way should work alright.
If you're dealing with wave files, you just need to divide the wave sample length with the sample rate and you can get the length of the audio in seconds.