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.
Hi this upload script is awesome, I've uses different ones and find this one of the best ones out there.
My question was. I'm upload mulitple files and post the file name to mysql, but if the extension is upcase the script change the extensions to lowercase, but how do I disable the lowercase and leave how it is?
However, you can do it in the code (there are two instances of strtolower($extension.....).
Note that you can also get the filename, after calling process(), reading $handle->file_dst_name, $handle->file_dst_name_body and $handle->file_dst_name_ext to know what is the new filename.Reply
My question was. I'm upload mulitple files and post the file name to mysql, but if the extension is upcase the script change the extensions to lowercase, but how do I disable the lowercase and leave how it is?
I'm sure it something to do with strtolower?
Thanks and Marry Christmas
However, you can do it in the code (there are two instances of strtolower($extension.....).
Note that you can also get the filename, after calling process(), reading $handle->file_dst_name, $handle->file_dst_name_body and $handle->file_dst_name_ext to know what is the new filename.