| 如何使用asp上传HTML5 单input多文件 |
fjq6UM http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. fc2M2v http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count 3De396 http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then IDQwZW http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" 4hky3J http://blog.numino.net/ End if 478Rv5 http://blog.numino.net/ Next k1d2FG http://blog.numino.net/ It might be worth trying the same approach - ie: VSxc27 http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count kJfQ1J http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then ko468i http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" hMp2rk http://blog.numino.net/ End if JBvhlB http://blog.numino.net/ Next m72z5q 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. 58KA3a http://blog.numino.net/
|
|