Welcome Guest, Not a member yet? Register   Sign In
Zip library taking complete path for folder
#1

[eluser]gowrav vishwakarma[/eluser]
Hi all .. its all nice going till i needed to Zip a folder on my server.. all ok .. zippinf well .. extracting well but ... ziped file is taking complete absolute url for the zipped folder. I just need to take zip file=>having my targeted folder..

This is code I am using
Code:
$this->load->library('zip');
        $this->zip->read_dir($tmpComp.DS);
        $zip_file = $this->zip->get_zip();
and at last my zip is having D_/xampp/htdocs/joomla_ci/ ------ so on

Any guide !!
#2

[eluser]gowrav vishwakarma[/eluser]
No again strange problem ... Zip is creted but empty.. no file in there but size of zip > 0 !!!




Theme © iAndrew 2016 - Forum software by © MyBB