Allows you to upload 1000 files at the same time. Prerequisites: Javascript, PHP (a few) Perl (a few )! Test Environment: Windows2000 + IIS5 + PHP (Win98 + PWS + PHP3 failed, probably due to a configuration problem) directory structure: wwwrootcgi-B prerequisites: Javascript, PHP (a few) /Perl (a few )!
Test Environment: Windows2000 + IIS5 + PHP (Win98 + PWS + PHP3 failed, probably due to a configuration error)
Directory structure:
/Wwwroot/cgi-bin/fileup. php (file receipt)
/Wwwroot/www/test/phpfileup.htm (file submission)
/Wwwroot/www/test/tmp/(default directory)
Uploading files is simple and troublesome. The following is the submission page for uploading files. using this page, you can generate not only 1000 Upload file boxes (actually any number of 0 ~ N), and you can specify their storage paths.
The file input box on the submit page is named: file0, file1,... file100,... fileN
The file path box on the submit page is named path0, path1,... path100,... pathN.
Because the page generation is very simple, I will not explain it here. two functions are defined using javascript. check () is used to submit the page, and create () is used to generate a file upload box. If you have any better suggestions or have any questions, please Email: gearsoft@netease.com
Phpfileup.htm
--------------------------------------------------------