多文件上传请教
news_add.asp
action=request.querystring("action")
if(action="add") then
for i=1 to 3
set uploadform = Server.CrjeateObject("SiteGalaxyUpload.Form")
set fs = server.CreateObject("Scripting.FileSystemObject")
filename=fs.GetFileName(uploadform("imagefile"&i).FilePath)
'这一行好像取不了如:imagefile1,imagefile2,imagefile3
.......
next
end if
<form action="news_add.asp?action=add" enctype="multipart/form-data">
for i=1 to 3
<input type="file" name="imagefile<%=i%>" >
next
<input type="submit" name="Submit" value="上传">
</form>
action=request.querystring("action")
if(action="add") then
for i=1 to 3
set uploadform = Server.CrjeateObject("SiteGalaxyUpload.Form")
set fs = server.CreateObject("Scripting.FileSystemObject")
filename=fs.GetFileName(uploadform("imagefile"&i).FilePath)
'这一行好像取不了如:imagefile1,imagefile2,imagefile3
.......
next
end if
<form action="news_add.asp?action=add" enctype="multipart/form-data">
for i=1 to 3
<input type="file" name="imagefile<%=i%>" >
next
<input type="submit" name="Submit" value="上传">
</form>
...全文
相关推荐
SpringMVC文件上传,多文件上传实例
在上一篇SpringMVC基础教程的源码基础上增加了文件上传,多文件上传
SWFUpload实现多文件上传
SWFUpload实现多文件上传,servlet+jsp
使用layui实现多文件列表上传
该代码完整的实现了shiyonglayui技术实现多文件的上传预览和删除功能,下载下来直接导入到开发工具中就可以使用
多文件上传和展示
bootstrap-fileinput-master多文件上传,多文件预览,网页的代码地址为https://mp.csdn.net/postedit/84098479
java Springboot实现多文件上传功能
主要为大家详细介绍了java Springboot实现多文件上传功能,具有一定的参考价值,感兴趣的小伙伴们可以参考一下


