Forum


Replies: 4   Views: 4356
Converting docx to html
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 Ross  · 21-01-2016 - 19:38

I'm having issues creating an html file from a docx file.  I'm copying the example from http://www.phpdocx.com/api-documentation/format-conversion/convert-Word-docx-into-pdf-with-PHP. My code is 100% identical, except I'm converting it to .html.  This is the only difference in my code:

$docx->transformDocument('example_text.docx', 'example_text.html');

When this runs, the example_text.docx file is created as expected, but example_text.html is not.

Any ideas why this may be failing?