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?
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?
Hello,
There's a third parameter to set the filename:
$docx->createDocxAndDownload('test123', null, 'test123');
Regards.
Thanx a lot, it worx.
But where is the reference to this? I couln't find it in the manual.