class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
more info about the class
When I try to upload a mp3 file, the wrote file has a strange name :
Selected file : Terraria OST - Blood Moon.mp3
$handle->file_src_name : Terraria OST - Blood Moon.mp3
uploaded file name : TerrariasOSTs-sBloodsMoon.mp3
I have no idea why this happen. Even putting false on safe name does nothing.
Thanks for your help !