RE: zipArchive class extractTo failing

From: Date: Mon, 25 Apr 2016 22:01:15 +0000
Subject: RE: zipArchive class extractTo failing
Groups: php.general 
Request: Send a blank email to php-general+get-325554@lists.php.net to get a copy of this message
Hello again: I figured it out. I was using the name of the zip file (without the .zip extension) as the subdir name. What was happening is that zipArchive is adding the .zip extension So inside the zip file was zipName.zip. I had been looking at the bugs posted regarding zipArchive and saw a problem posted with dir names contain a dot (.), So I surmised that the extension added to the dirname was causing the failure. When I used a different name for the subdir it worked. As always: thanks for time and attention JK

« previous php.general (#325554) next »