Forum


Replies: 2   Views: 3175
Createdocxanddownload function problem in pro+ 3.7
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 webdzinez  · 01-04-2014 - 02:29

Whenever I download the file, it gets downloaded with document.docx - I think this code is responsible



 



       if (!empty($args[2])) {

            $fileNameDownload = $args[2];

        } else {

            $fileNameDownload = 'document.docx';

        }



 



 



But API documentation doesnt talk about arg[1] or arg[2] - what are these? Why do I need them?