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.
I am afraid it is "normal". The DOCX files are indeed ZIP files.
You may want to update your system, so that the MIME detection librairies can detect the new Office formats. For instance, libmagic was discussing it a while back, and again recently. I looked in the latest version of the file command, but it doesn't seem to be able to deal with the new MS Office formats.Reply
You may want to update your system, so that the MIME detection librairies can detect the new Office formats. For instance, libmagic was discussing it a while back, and again recently. I looked in the latest version of the file command, but it doesn't seem to be able to deal with the new MS Office formats.