I am trying to upload docx files using a basic php upload form.
i have added the proper mime types to my validation
$types = array(‘application/pdf’,‘application/msword’,‘text/plain’,‘application/vnd.openxmlformats-officedocument.wordprocessingml.document’,‘application/wordperfect6.0’);
and I added the following to my .htaccess file
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
My validation keeps failing.
Has anyone gotten this to work?