| 如何使用asp上传HTML5 单input多文件 |
aXfBHl http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. 8srpqo http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count 4XT5ic http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then 1ZR1FK http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" qnx5Xa http://blog.numino.net/ End if k9aP4e http://blog.numino.net/ Next hf0YKM http://blog.numino.net/ It might be worth trying the same approach - ie: EvedLE http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count PgeHnb http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then l5JAuB http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" nGb1oQ http://blog.numino.net/ End if HCi6Ok http://blog.numino.net/ Next uqdy4x 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. U9r7Ay http://blog.numino.net/
|
|