Forum


Replies: 3   Views: 3550
Createdocxanddownload word is corrupted
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 admin  · 26-10-2015 - 08:41

Hello,

If you need to use ob_clean to get a correct DOCX file, it's because your server is adding some string into it; maybe some notice, warning or header. Although you can use this function to solve it, we recommend you to remove that line, check your server logs, edit the DOCX using an HEX editor and check its content.

Regards.