Posted by Piet@piraat.test on 11/11/06 12:53
I've been trying to use PCLzip to extract uploaded archives with the
following code:
$archive = new PclZip('temp/temp.zip');
if ($archive->extract(PCLZIP_OPT_PATH, 'temp/') == 0) {
die("Error : ".$archive->errorInfo(true));
}
It doesn't report an error, but the files don't show up. Attributes
are 777 on the temp dir. If I list the contents of the zip, they
show up properly.
Anyone know what's wrong here?
Navigation:
[Reply to this message]
|