Allow you to upload 1000 files at the same time (a) _php Foundation
Source: Internet
Author: User
Preliminary knowledge: Javascript, PHP (small)/perl (few)!
Test environment: Windows2000 + IIS5 + PHP (Win98 + PWS + PHP3 failure, estimated to be configured out of the problem)
Directory structure:
/cgi-bin/fileup.php (File receive)
/www/test/phpfileup.htm (file submission)
/www/test/tmp/(Default save directory)
Foreword: File uploads, simple and troublesome. Here is the Upload file Submission page, use this page you can not only generate 1000 upload file box (actually any number of 0~n), and can point out their save path respectively.
The file input box for the Submit page is named: File0,file1,... file100,... filen
The File path box for the Submit page is named: path0,path1,... path100,... pathn
Because the generation of the page is very simple, it is not explained here, two functions are defined with JavaScript, check () is used to submit the page, create () is used to generate the File upload box. If you have any better advice or have any questions please email:gearsoft@netease.com
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.