页面如下:$zip = new ZipArchive();
// var_dump($zip);
if (!copy($this->bookpath, "G:\\SERVER\\www\\dajianet.com\\apps\\sd_download\\controller\\". $this->filename)) {
      echo "failed to copy {$this->filename}...\n";
      exit();
}

if($zip->open($this->filename, ZIPARCHIVE::CREATE) === true)
{

echo $this->bookpath2;
echo "    ".$this->filename;
var_dump($zip->addFile($this->bookpath2,'editplus/favicon.ico'));

$zip->close();
die();
//echo "<script>alert('获得许可成功!');window.open('http://app.dajianet.com/?app=sd_download&controller=sd_download&action=showresult');</script>";
self::showresult();
//$fp = fopen($filename,'r');
//echo fread($fp, filesize($filename));
//self::deletefile();
}
else
{
echo 'failed';
}
结果是不抱错误,也没有效果,高手帮帮忙看下!!