Forum


Replies: 5   Views: 3016
Merging documents at same time as another mixes output
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 admin  · 16-06-2017 - 06:13

Hello,

Yes, when you call createDocx, it creates a DOCX; this is how phpdocx generates and saves the documents (that's not a temp file but a final file you can storage, download...).

If your script generates more than one DOCX in the same path with the same name, then you need to set unique file names to avoid overwritting the DOCX outputs.

You can set unique file names with any phpdocx license or with the Premium license you can use the in-memory approach to don't generate files in the file system.

Regards.