Forum


Replies: 8   Views: 4520
Corrupt file when calling createdocxanddownload
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  · 11-04-2013 - 12:13

Hello,

Check lines 4638-4646 in CreateDocx.inc class. There're three headers that you can customize; If you post your web server and version (Apache, IIS, ...) we'll test it.

createDocxAndDownload method uses createDocx to create the DOCX, so the file is the same but there must be something missing related to headers.

Regards.