多文件上传请教

saimen2002 saimen2002 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
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>
...全文

相关推荐

评论 2
收藏 已收藏
分享
返回顶部
saimen2002
ASP 28,400 成员 356,938 内容