能帮我解释一下吗?
'formsize=Request.TotalBytes
'formdata=Request.BinaryRead(Request.TotalBytes)
'bncrlf = chrB(13) & chrB(10)
'divider=leftb(formdata,clng(instrb(formdata,bncrlf))-1)
'datastart=instrb(formdata,bncrlf & bncrlf)+4
'dataend=instrb(datastart+1,formdata,divider)-datastart
'mydata=midb(formdata,datastart,dataend)
'Response.ContentType= "image/jpeg "
'Response.BinaryWrite(mydata)
我不明白在提交页面所传的二进制是什么格式显示的啊,我输出看时全是乱码,
为什么有时候是一个bncrlf,又有时需要两个bncrlf,
谢谢大家帮帮忙
------解决方案--------------------http://blog.csdn.net/faintbear/archive/2004/10/15/138034.aspx
希望有帮助