Forum


Replies: 8   Views: 4657
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 cgsmith  · 11-04-2013 - 12:13

[quote][b]Quote from liam.whan on October 12, 2012, 00:08[/b]

if I edit CreateDocx.inc and call ob_clean() and flush() (passing no arguments) directly after header('Content-Transfer-Encoding: binary); I get the desired output.

[/quote]

Thanks for this tip. This has helped me as well.