Forum


Replies: 7   Views: 4708
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 admin  · 21-04-2016 - 11:55

Hello,

Please follow the steps explained on:

http://www.phpdocx.com/documentation/conversion-plugin

to install and debug the conversion plugin.

About transformDocumentAndDownload, there's no method. I have added a task to consider adding it, but it can be done easily using a PHP header, this is something like:

header('Content-type:application/pdf');

header('Content-Disposition:attachment;filename="file.pdf"');

readfile('file_src.pdf');

Regards.