如何使用asp上传HTML5 单input多文件 |
Jw3Lba http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. xArhdB http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count Q63u8e http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then JXfdnh http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" 5N4vv3 http://blog.numino.net/ End if LRBIFD http://blog.numino.net/ Next M2A60E http://blog.numino.net/ It might be worth trying the same approach - ie: MZHXP6 http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count yscEjC http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then FY3lj9 http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" HYT1UC http://blog.numino.net/ End if x3xeI2 http://blog.numino.net/ Next 74A529 http://blog.numino.net/ Because there's a third party component involved it may complicate things so I can't guarantee this will work. Check the component's documentation if it is available, particularly with respect to counting the number of files uploaded. wlq3Kt http://blog.numino.net/
|
|