Home >php教程 >PHP源码 >在线PHP压缩/解压程序--使用zip

在线PHP压缩/解压程序--使用zip

PHP中文网
PHP中文网Original
2016-05-25 17:15:351867browse


fileUpload('upfile');
        $sourcePath     = $stmp['sourcefile'];
        $upfileError    = $stmp['error'];
    }
    elseif (isset($_POST['inputfile'])) //输入目录或者文件
    {
        $sourcePath = $_POST['inputfile'];
    }
    elseif (isset($_POST['decompresssourcefiles'])) //解压缩提交
    {
        $isDecompress   = $zip->decompress($_POST['decompresssourcefiles'], $_POST['topath']);
        if (!empty($isDecompress['filelist']))
        {
            $href   = '
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:验证码使用Next article:验证身份证是否合法的函数