在自己的服务器上做实验,服务器2003+IIS 6.0.从客户端向服务器post数据包.服务器端脚本如下:
<%@ language="VBScript"%>
<%
Dim Size
Dim PostData 
Size = Request.TotalBytes
Response.Write Size
PostData = BinaryRead(Size)
Response.Write PostData
%>
接受的字节数Size正确接受,但是出错:
Microsoft VBScript 运行时错误 错误 '800a000d' 类型不匹配: 'BinaryRead' /test.asp,行 7
网上的代码都是这么写的,怎么会出错呢.谢谢各位,帮帮忙了!