php 解压zip
2019獨角獸企業(yè)重金招聘Python工程師標(biāo)準(zhǔn)>>>
/***?解壓zip*?@param?type?$file*?@param?type?$destination*?@return?boolean*/public?function?unzip_file($file,?$destination){?$zip?=?new?ZipArchive()?;?if?($zip->open($file)?!==?TRUE)?{return?$this->error('Could?not?open?archive,PHP?ZipArchive?must?support?and?compressed?without?damage');?}?$zip->extractTo($destination);?$zip->close();return?TRUE;}轉(zhuǎn)載于:https://my.oschina.net/java520me/blog/391696
總結(jié)
- 上一篇: STM32单片机雨滴模块
- 下一篇: (转)一些方便查找学习资料的网站,希望可