I have used MP3info for this. With this you can fetch(and also edit) the tag info and get the file properties(lenght, bitrate etc.).
example usage:
exec('mp3info -x acidjazz.mp3',$out);
print_r($out);
EDIT: blah.. That getID3 is much better solution. Use it 🙂