Welcome Guest, Not a member yet? Register   Sign In
File Upload Library and special characters

(11-08-2018, 01:12 PM)jreklund Wrote: Hi, I just re-read everything. And your Javascript looks okay. The file name aren't submitted in the URL.
Can you find the PHP code for the upload part?

Do you get the correct name here in your HTML after upload?
<input data-name="'+data.response.file_name_unreplaced+'" type="hidden" value="'+data.response.file_name+'" name="userfile[]">

Try and delete this part:
slugCallback: function(filename) {
return filename.replace('(', '_').replace(']', '_').toLowerCase();

Thanks for your help! It's appreciated. THe Filenames are correct in HTML. I will try your suggestion later and report back Smile

Messages In This Thread
RE: File Upload Library and special characters - by marwin - 11-08-2018, 06:27 PM

Theme © iAndrew 2016 - Forum software by © MyBB