1.改用FTP
2.叫用户一个一个选.

解决方案 »

  1.   

    但应该是一个<input type=file>只能支持上传一个文件
      

  2.   

    用数组。
    多个<input type="file">试一下。
    我最近也在想法解决这个问题。
      

  3.   

    这个问题以前已经讨论过很多次的.
    结论都是一样的,还是得一个一个选.
    或者改用FTP.
      

  4.   

    <?php
    // set up basic connection
    $conn_id = ftp_connect($ftp_server); // login with username and password
    $login_result = ftp_login($conn_id, $ftp_user_name, $ftp_user_pass); // check connection
    if ((!$conn_id) || (!$login_result)) { 
            echo "FTP connection has failed!";
            echo "Attempted to connect to $ftp_server for user $ftp_user_name"; 
            die; 
        } else {
            echo "Connected to $ftp_server, for user $ftp_user_name";
        }// upload the file
    $upload = ftp_put($conn_id, $destination_file, $source_file, FTP_BINARY); // check upload status
    if (!$upload) { 
            echo "FTP upload has failed!";
        } else {
            echo "Uploaded $source_file to $ftp_server as $destination_file";
        }// close the FTP stream 
    ftp_close($conn_id); 
    ?>
      

  5.   

    一个<input type=file>只能对应一个文件而且它还是只读的