You haven't specified a path to extract to ...

On May 16, 9:36 am, Unite <[EMAIL PROTECTED]> wrote:
> OS = winXP
> WAMP = ver 2;
>
> I have the following in my cakephp code
>
> $zipPath = realpath("00000000.zip");
> $zip = new ZipArchive;
> $zip->open($zipPath);
> $zip->extractTo("");
> $zip->close();
>
> open returns a ZipArchive object;
> extractTo returns no errors
> close returns true
>
> From the above you can say that the file has been unzipped because
> close returns true but it hasnt. Nothing has been written to the
> directory or any directory. I know extractTo is running because if i
> pass a directory that directory is created in the correct place.
> Nothing returns and errors and no zip contents has been created.
> I have enabled extension=php_zip.dll in php.ini
> Has anyone ever had this error before. Is php_zip.dll not included
> somewhere its ment to?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to