ASP BinaryRead 方法
BinaryRead 方法用於獲取作為POST 請求的部分從客戶機發送到服務器的數據。 它將在一個安全的數組中存儲數據,數組用於存儲有關維數及尺寸範圍的信息。
注意:請在調用BinaryRead之後調用Request.Form,否則會引起錯誤。
語法
Request.BinaryRead(count)
参数 | 描述 |
---|---|
count | 必需。规定要从客户机读取多少字节。 |
實例
下面的例子使用BinaryRead 方法把一個請求的內容放入了一個安全的數組:
<%
dim a,b
a=Request.TotalBytes
b=Request.BinaryRead(a)
%>
dim a,b
a=Request.TotalBytes
b=Request.BinaryRead(a)
%>
完整的Request對象參考手冊