Forum


Replies: 4   Views: 3428
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 melino  · 08-02-2014 - 15:44

No matter what I set in

$docx->createDocxAndDownload('test123');

the file name of the downloaded docx is always "document.docx".



while



$docx->createDocx('tmp/test123');

works fine, file name on the server in /tmp/ is "test123.docx".



Any idea?