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.
Thanks for reply. What is irritating me so much is, that upload of xlsx files and xls files generally work, so I suppose it depends of the files themselves, that cannot be uploaded. I will now try to compare files from the same customer that work with those who are not working, though I don't have any clue where to look at...Reply
Yes, it seems that it depends on the file. For instance, if the XLS file is encrypted, then the MIME is application/encrypted, which is then difficult to single out to allow only XLSX files rather than all encrypted files...Reply
Yepp, after testing a lot I am sure it depends on the files only. Tere must be something in the settings of my customers, that let the class detect them as encrypted though they are not encrypted. A simple "save as" on my system let the calls detect the as spreadsheet or other file that makes them uploadable. So my customer has to search....Reply
What is irritating me so much is, that upload of xlsx files and xls files generally work, so I suppose it depends of the files themselves, that cannot be uploaded.
I will now try to compare files from the same customer that work with those who are not working, though I don't have any clue where to look at...
A simple "save as" on my system let the calls detect the as spreadsheet or other file that makes them uploadable.
So my customer has to search....