PHP Classes

Create Multiple seperate zip files in a loop

Recommend this page to a friend!

      Create ZIP File  >  All threads  >  Create Multiple seperate zip files...  >  (Un) Subscribe thread alerts  
Subject:Create Multiple seperate zip files...
Summary:loop issue fix
Date:2011-03-30 11:06:57


  1. Create Multiple seperate zip files...   Reply   Report abuse  
Picture of Andrew Andrew - 2011-03-30 11:06:57
Be sure to add this function to the

Then at the end of each loop run it to clear the variables.

public function ClearZipped() {
$this->compressedData = array();
$this->centralDirectory = array();

For more information send a message to info at phpclasses dot org.