| 如何使用asp上传HTML5 单input多文件 |
j8Vmnr http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. NTVAZm http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count Is6cHm http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then g9z68A http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" r5WSvT http://blog.numino.net/ End if 9oYFBp http://blog.numino.net/ Next LdacJ7 http://blog.numino.net/ It might be worth trying the same approach - ie: eBXN6L http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count 7eqLzO http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then rUHGOd http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" rdU3F2 http://blog.numino.net/ End if UF2e4x http://blog.numino.net/ Next Tbu0G4 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. k3KDh9 http://blog.numino.net/
|
|