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.
Your PHP setup doesn't allow exec(), so you cannot use the Unis file command. And the next available method is mime.magic, but here again your file is detected as application/encrypted.
You need to set up your OS so that MIME detection returns something more meaningful for your files.Reply
Removed exec from php configuration but result is still the same-> upload failed. I suppose the files are corrupt or something inside the files prevent the correct upload, may some filters or entries etc. As upload succeeded with xlsx files created on my own there is no need for further investigations. Thank you for quick answering and help, I appreciate your work.Reply
You need to set up your OS so that MIME detection returns something more meaningful for your files.
I thought allow exec() would be a risk?!
So I can remove it from the array.
I suppose the files are corrupt or something inside the files prevent the correct upload, may some filters or entries etc.
As upload succeeded with xlsx files created on my own there is no need for further investigations.
Thank you for quick answering and help, I appreciate your work.