当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP BinaryRead 方法

ASP
ASP 介绍
ASP Install
ASP 语法
ASP 变量
ASP Procedures
ASP Forms
ASP Cookies
ASP Session
ASP Application
ASP #include
ASP Global.asa
ASP Send e-mail
ASP Response
ASP Request
ASP Application
ASP Session
ASP Server
ASP Error
ASP FileSystem
ASP TextStream

ASP BinaryRead 方法


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 379 ::
收藏到网摘: n/a

The BinaryRead method is used to retrieve the data sent to the server from the client as part of a POST request. It will store the data in a safe array (an array that stores information about the number of dimensions and the bounds of its dimensions).
BinaryRead方法的作用是获取客户通过POST请求发送到服务器端的数据。它将把数据存储在一个安全的数组当中(这个数组存储了定义范围的数量和限度)。

Note: A call to Request.Form after a call to BinaryRead, and vice-versa, will cause an error.
注意:如果在BinaryRead之后请求Request.form,或是反过来,都会导致一个错误。

Syntax
语法

Request.BinaryRead(count)

Parameter
参数
Description
描述
count Required. Specifies how many bytes to read from the client
必要参数。指定来自于客户端的总字节数

Examples
举例

The following example uses the BinaryRead method to place the content of a request into a safe array:
<%
dim a,b
a=Request.TotalBytes
b=Request.BinaryRead(a)
%>

评论 (0) All

登陆 | 还没注册?