Forum


Replies: 3   Views: 2695
Each file has a larger size than the previous one
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 klasus  · 04-02-2018 - 12:11

Hello,

I am creating several docx files:

for ($i = 0; $i < $numClients; $i++){

        $docx = new CreateDocx();
        $docx->setEncodeUTF8();

        ...

        $docx->createDocx($dir.$filename);

}//for

Each docx file has the same information, but the size of each file is increasing. Example:

  • First docx generated --> 12 Kb
  • Second docx generated --> 14 Kb
  • Third docx generated --> 17 Kb
  • Fourth docx generated --> 20 Kb
  • ...


Which is the reason why each file has a larger size than the previous one?.

Thanks