Forum


Replies: 4   Views: 4140
'the chosen extension is not supported'
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 melino  · 11-02-2014 - 10:31

The download script is:



$query_string = $_SERVER['QUERY_STRING'];

require_once ("path_to/phpdocx_pro_conv/classes/CreateDocx.inc");

$docx = new CreateDocx();

$docx->enableCompatibilityMode();



$html = 'http://domain.com/html_file.php?'.$query_string.'';

$docx->embedHTML($html, array('isFile' => true));

$file_name = $row['contract_name'].' (Long Agreement)';



$docx->createDocx('tmp/'.$file_name.'');

$docx->transformDocx('tmp/'.$file_name.'', ''.$file_name.'');