Forum


Replies: 1   Views: 3750
Createdocxanddownload - issue
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by ilucio  · 30-07-2014 - 07:39

When using this method, the system generates me correctly docx file on the server and the same makes me download. But the two files are different, one has downloaded an encoding completely wrong. What do you suggest? thanks

Posted by admin  · 30-07-2014 - 13:18

Hello, Maybe you need to set the DOCX mime in your web server config. For example: AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx in a .htaccess file. Regards.