Request.BinaryRead错误

西安风影 西安风影 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
我实现的功能是上传图片和一些用户信息
表单是
<form name="infoform" action="supinfo.asp" method="post"enctype="multipart/form-data">
名字: <input type="text" name="user" >
性别: <input type="text" name="sex">
<input type="file" name="file1"> //图片文件上传
<input type="submit" name="submit" value="发布">
</form>


代码是这样
Response.Buffer=true
formsize=Request.TotalBytes
formdata=Request.BinaryRead(formsize)
上传的图片数据我已经可以正常读出了。
但是不知道如何读取名字和性别。


麻烦给个详细的代码。
...全文
评论 8
收藏 已收藏
分享
返回顶部
西安风影
ASP 28,400 成员 356,938 内容