php 解压zip
2019獨角獸企業重金招聘Python工程師標準>>>
/***?解壓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;}轉載于:https://my.oschina.net/java520me/blog/391696
總結
- 上一篇: STM32单片机雨滴模块
- 下一篇: php 自动创建目录