| 如何使用asp上传HTML5 单input多文件 |
VIaza0 http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. Rft2y9 http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count XGKJ5H http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then 8FNyY7 http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" P951Vy http://blog.numino.net/ End if w63Oyg http://blog.numino.net/ Next sqD6V6 http://blog.numino.net/ It might be worth trying the same approach - ie: EGuVJv http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count 5rqA1h http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then nVPPhN http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" KWe3VN http://blog.numino.net/ End if 7zOF8V http://blog.numino.net/ Next nT3znV 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. 45WJTY http://blog.numino.net/
|
|