[eluser]Ty Bex[/eluser]
I just cannot zip a .png file to an archive.
Code:
$this->load->library('zip');
$path='./images/ecom/products/load/test.png';
$this->zip->read_file($path);
$this->zip->archive('./images/ecom/products/BKUP_LoadImgaes.zip');
I get a 0KB zip file that cannot be opened because it is 0KB;
I just want to zip a png file into a archive.. any ideas or working samples.