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.
Not sure... Maybe some strange UTF8 characters are used for spaces in the original filename. Try to remove the spaces in the original filename, to replace them with regular spaces.Reply
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 !