| 如何使用asp上传HTML5 单input多文件 |
WBam8q http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. 5DciF9 http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count BU0Wo0 http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then GJ9TgP http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" gWZM38 http://blog.numino.net/ End if 8xZ4GA http://blog.numino.net/ Next L60g29 http://blog.numino.net/ It might be worth trying the same approach - ie: W3xK8F http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count fllr5D http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then 72TpVV http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" 80gwQM http://blog.numino.net/ End if luofWj http://blog.numino.net/ Next 1j1eGd 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. N1Dlg2 http://blog.numino.net/
|
|