Codeigniter mime type docx

Hi below is the mime type for uploading docx file in codeingiter:

‘docx’  =>  array(‘application/msword’,’application/vnd.openxmlformats-officedocument.wordprocessingml.document’,’application/octet-stream’)

Write the above code in config/mimes.php.

Hope the above code will solve your problem.

Leave a Reply

Your email address will not be published. Required fields are marked *

*