Forum


Replies: 7   Views: 4796
Pdf conversion and download
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 davelavinsky  · 22-04-2016 - 06:06

I found out what the problem was. I had a space in the filename which was giving the error.

$docx->enableCompatibilityMode();
$docx->createDocx('temp/Business Plan');
$docx->transformDocument('temp/Business Plan.docx', 'temp/Business Plan.pdf');

Once I changed the name to Business-Plan, it all worked fine.