| 如何使用asp上传HTML5 单input多文件 |
kASl14 http://blog.numino.net/ If you have a form which submits multiple values of the same form variable you can separate them as follows. jMiI7J http://blog.numino.net/ For i = 1 to Request.form("myforminput").Count Th24d6 http://blog.numino.net/ If Request.form("myforminput")(i) <> "" then UH29Nb http://blog.numino.net/ Response.write Request.form("myforminput")(i) & "<br />" HCCf1r http://blog.numino.net/ End if JngHxZ http://blog.numino.net/ Next fStWiz http://blog.numino.net/ It might be worth trying the same approach - ie: 3VWxUZ http://blog.numino.net/ For i = 1 to (objUpload.Form("thefile").value).Count vAofF1 http://blog.numino.net/ If (objUpload.Form("thefile").value)(i) <> "" then JEQgh4 http://blog.numino.net/ Response.write (objUpload.Form("thefile").value)(i) & "<br />" zyeOQT http://blog.numino.net/ End if Ah0kry http://blog.numino.net/ Next nxDR00 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. MvZq19 http://blog.numino.net/
|
|