Login   Register  
PHP Classes
elePHPant
Icontem

class not working

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Zip Folder  >  All threads  >  class not working  >  (Un) Subscribe thread alerts  
Subject:class not working
Summary:zip class not working properly .
Messages:2
Author:madan koshti
Date:2006-12-17 14:29:43
Update:2007-01-02 12:37:52
 

  1. class not working   Reply   Report abuse  
Picture of madan koshti
madan koshti
2006-12-17 14:29:43
Hello ,

I have installed your class properly .
Actually the zip file destroys at destoy command .
But unzip folder i am not getting .

Thanking You .

  2. Re: class not working   Reply   Report abuse  
Picture of Johannes S
Johannes S
2007-01-02 12:37:52 - In reply to message 1 from madan koshti
... I just started like this:
$filename = blabla.zip;
include_once("library-ZipFolder.php");
$unzip = new ZipFolder;
$unzip -> setFolder($_SERVER["DOCUMENT_ROOT"].'/xx/data/'.$filename);
$unzip -> setSavePath($_SERVER["DOCUMENT_ROOT"].'/xx/data/');
$unzip -> openZip();


and got the following error messages:
Warning: mkdir() [function.mkdir]: Invalid argument in R:\xx\class\library-ZipFolder.php on line 188

Warning: mkdir() [function.mkdir]: Invalid argument in R:\xx\class\library-ZipFolder.php on line 188

Warning: mkdir() [function.mkdir]: Invalid argument in R:\xx\class\library-ZipFolder.php on line 188

Warning: zip_read() expects parameter 1 to be resource, integer given in R:\xx\class\library-ZipFolder.php on line 213

Warning: zip_close() expects parameter 1 to be resource, integer given in R:\xx\class\library-ZipFolder.php on line 233


does anyone got the same? any suggestions?

bye
wild