主题:  急急!!!!用插件上传图片并写入数据库出了问题?

飞雪xp

职务:普通成员
等级:1
金币:0.0
发贴:2
注册:2003/3/3 17:48:58
#12003/3/28 11:43:22
我在用插件上传图片并写入数据库时,图片可以传到指定的位置,
但不能写入数据库了,提示如下:

Form was submitted with no ENCTYPE="multipart/form-data"
Please correct and try again

请问这是为什么呢?

且我的
该上传插件里开始有几句,我不太明白,好像出的就是这里的错。如下:

'Get the boundary
PosBeg = 1
PosEnd = InstrB(PosBeg,RequestBin,getByteString(chr(13)))
if PosEnd = 0 then
Response.Write "Form was submitted with no ENCTYPE=""multipart/form-data""
"
Response.Write "Please correct the form attributes and try again."
Response.End
end if

编辑历史:[这消息被飞雪xp编辑过(编辑时间2003-03-28 11:44:15)]


ziriyan

职务:普通成员
等级:2
金币:1.0
发贴:303
注册:2002/1/28 15:58:03
#22003/3/29 8:13:54

图片如下:


看一下红框部分,可能就是这里的问题