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.
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
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....