你可以开发自己的,使用swfupload

解决方案 »

  1.   

    这个也做到了吗?如果需要使用多个文件上传,只需要修改表单,把
    <input type=”file”  name=”photo”>
    改为
    <input type=”file”  name=”photo1”>
    <input type=”file”  name=”photo2”>
    <input type=”file”  name=”photo3”>
    或者
    <input type=”file”  name=”photo[]”>
    <input type=”file”  name=”photo[]”>
    <input type=”file”  name=”photo[]”>
    两种方式的多附件上传系统的文件上传类都可以自动识别。
      

  2.   

    我知道那错了   好了   
         import("ORG.Net.UploadFile");
                $upload = new UploadFile();      // 实例化上传类
                $upload->maxSize  = 2000000; // 设置附件上传大小
                $upload->allowExts  = array('jpg', 'gif', 'png', 'jpeg'); // 设置附件上传类型
                $upload->savePath =  './Public/Uploads/'; // 设置附件上传目录
     //     $upload->saveRule= time().rand();   
                    if($upload->upload())
    {
      echo "1";
                    }else{ 
                        echo "0";
                    }
     //     $upload->saveRule= time().rand();   这个屏蔽了就好了  但是不知道为什么?
      

  3.   

    请看博客http://blog.csdn.net/q279838089/article/details/8560938
    里面有详细说明
      

  4.   

    在我们的爱志汇网的时候,刚好也遇到这个问题,不过现在已经解决了,thinkphp3.1的上传类已支持多文件上传:
    foreach ($_FILES as $key=>$files){
        if(!empty($files['name'])) {
            $res =  $up->uploadOne($files);         
            if($res){ // 保存附件信息
                $_POST[$key] = $res ['savename'];
            }else{ // 上传错误
                $this->error($up->getErrorMsg());
            }
        }
    }