During testing I save the teste_template file on my web server , however I would
that sending the command to create the .docx file, it would open automatically.
Searching the saw documentation should use the createDocxAndDownload , however the application
is suing indefinitely and does not open the file.
What could be wrong ?
codes for the analysis below :
*==============
...
$docx = new CreateDocxFromTemplate('../ModelosWord/mod_APFD_Comu_Juiz_Sem_Fianca.docx');
$docx->replaceVariableByText($variables);
$docx->createDocx('../ModelosWord/test_template');
//With this teste_template code file is created on the web server
*=============
*==============
...
$docx = new CreateDocxFromTemplate('../ModelosWord/mod_APFD_Comu_Juiz_Sem_Fianca.docx');
$docx->replaceVariableByText($variables);
$docx->createDocxAndDownload('../ModelosWord/test_template');
//With this code the teste_template file is created on the web server , but
does not open automatically.
*=============