Forum


Replies: 10   Views: 4010
Createdocx gives a corrupted document
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 tutotours  · 15-09-2017 - 16:30

I tried with this code : 

 

$docx = new CreateDocx();
$docx->createDocx();

And also this code :

$docx = new CreateDocxFromTemplate('document.docx');
$docx->createDocx('document.docx');

Without anything else and it still giving me something corrupted.

 

If it's because of the web server, how can I get this right ?