Forum


Replies: 4   Views: 3619
Can't set file name of the downloaded docx (always "document.docx")
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 jorgelj  · 10-02-2014 - 09:30

Hello,



There's a third parameter to set the filename:



$docx->createDocxAndDownload('test123', null, 'test123');



Regards.