I've attached the full script in my previous comment
I just took a glance, you're using the general php/getid3 method to edit mp3 and add voice tag. While I don't obviously have the time to edit all files and implement the security features I outlined, I'll highlight things to note:
1. The system you're using is not the ideal method. It's manageable if you want to change only the metadata of the mp3. But if you want to include voice tag, don't waste your time. It won't work well. Most browsers won't even play the main mp3 or voice tag, depending on which comes first.
2. All the php mp3 tagger getid3 scripts online, even the ones on this forum using getid3+php, aren't recommended, especially if you're involving voice tags. That's why people keep having issues. Even the plugin I created for it, I clearly warned against using voice tag as first position (in case browsers choose to play only first file, it won't affect the main mp3). But it's OK for editing metadata.
3. If you still want to use getid3, then you should take your time to implement and solidify the error handling and security. Also ensure the versions are recent. If it's a script, most have been abandoned. I recently helped a client upgrade one. Sadly, I can't share as it's confidential. So, it's advisable to settle down and go through each file.