| 如何使用asp上传HTML5 单input多文件 |
PcPgr4 http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. 2jsQpj http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count 09I9zh http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then E0ITva http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" q11YNI http://blog.numino.net/ End if Onkds1 http://blog.numino.net/ Next 580X4W http://blog.numino.net/ It might be worth trying the same approach - ie: YvOXbt http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count CM81TU http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then qmIvi8 http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" qdR4r0 http://blog.numino.net/ End if 98KfOS http://blog.numino.net/ Next QA5rj2 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. LMu3Nw http://blog.numino.net/
|
|