Let you upload 1000 files simultaneously _php tutorial

Source: Internet
Author: User
Pre-Knowledge: Javascript, PHP (small)/perl (small)!
Test environment: Windows2000 IIS5 PHP (Win98 PWS PHP3 failed, estimated to be a problem with the configuration)
Directory structure:
/wwwroot/cgi-bin/fileup.php (File receive)
/wwwroot/www/test/phpfileup.htm (file submission)
/wwwroot/www/test/tmp/(Default save directory)

Preface: File upload, simple and troublesome. The following is the upload file Submission page, using this page you can not only generate 1000 upload file box (actually any number of 0~n), and can indicate their save path respectively.
The file input box for the submission page is named: File0,file1,... file100,... filen
The File path box for the Submit page is named: path0,path1,... path100,... pathn
Because the page generation is very simple, so there is no more explanation, with JavaScript defined two functions, check () for the submission page, create () to generate File upload box. If you have any better suggestions or questions, please email:gearsoft@netease.com

Phpfileup.htm
--------------------------------------------------------


<title></title>






Please enter the number of files to upload:










The file submission page has been generated, and the following task is clear: Save the submitted file contents to the server.

http://www.bkjia.com/PHPjc/631940.html www.bkjia.com true http://www.bkjia.com/PHPjc/631940.html techarticle Preliminary knowledge: Javascript, PHP (small)/perl (small amount)! Test environment: Windows2000 IIS5 php (Win98 PWS PHP3 failed, estimated to be a problem with configuration) directory structure:/wwwroot/cgi-bin/ File ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.