Logo Head Picture  free e- mail 
 thaimail 
 hotmail 
 yahoo 
 siam2you 
 thammasat
 Home  Visual Basic Active Server Page  JavaScript   Network   Other 
 Active Server Pages.











METHOD:  Request.BinaryRead

Request.BinaryRead(Count)

The BinaryRead method retrieves the unparsed data that was sent to the server from the user as part of an HTTP POST (i.e. an HTML FORM request). The data read is stored in a SafeArray which is a variant, structure-like array that, in addition to storing the data, also stores the number of dimensions of the array and the upper bounds of those dimensions.

The primary use of the BinaryRead method is in uploading files.

Using Request.Form after calling BinaryRead, and vice-versa, will cause an error.

There is one mandatory argument.

Count

Before the method is executed, Count contains the number of bytes to be read. After the method has returned, Count contains the actual number of bytes read. The number read should be less than or equal to the total byte count value returned by Request.TotalByte.

Code:
<%
Dim ByteCount, BinRead
ByteCount = Request.TotalBytes
BinRead = Request.BinaryRead(ByteCount)
%>

Copyright 2000 by Infinite Software Solutions, Inc.
Trademark Information

ASP - Link
ASP reference   
B   
C   
D   
E   
F   
G   
Last update: Copyright © 2001.Memo Wil@keo everything that I like Co.,Ltd.