易截截图软件、单文件、免安装、纯绿色、仅160KB

asp代码问题有一行出错帮忙解决,谢谢!

VBScript code:
Function GetUpload()
Dim Result
Set Result = Nothing
If Request.ServerVariables("REQUEST_METHOD") = "POST" Then 'Request method must be "POST"
Dim CT, PosB, Boundary, Length, PosE
CT = Request.ServerVariables("HTTP_Content_Type") 'reads Content-Type header
If LCase(Left(CT, 19)) = "multipart/form-data" Then 'Content-Type header must be "multipart/form-data"
'This is upload request.
'Get the boundary and length from Content-Type header
PosB = InStr(LCase(CT), "boundary=") 'Finds boundary
If PosB > 0 Then Boundary = Mid(CT, PosB + 9) 'Separetes boundary
Length = CLng(Request.ServerVariables("HTTP_Content_Length")) 'Get Content-Length header
if "" & UploadSizeLimit<>"" then
UploadSizeLimit = clng(UploadSizeLimit)
if Length > UploadSizeLimit then
' on error resume next 'Clears the input buffer
' response.AddHeader "Connection", "Close"
' on error goto 0
Request.BinaryRead(Length)
'Err.Raise 2, "GetUpload", "Upload size " & FormatNumber(Length,0) & "B exceeds limit of " & FormatNumber(UploadSizeLimit,0) & "B"
'Err.Ra


相关问答:

ASP網頁中取得登陸的用戶名

我的網頁代碼為ASP語言,驗證方式為系統自帶的WINDOW驗證模式.

現在我如果要在ASP代碼中獲取當前的登入人 ......

asp后台登陆问题

我帮学校做了一个站.

在校园网的情况下,能够登陆成功,后台帐号都能通过,进入后台

但是在外网AD的情况下,能够登陆后台的页面,页面是ASP文件.
但是输入帐号和密码的时候,网页运行很久都 ......

现在的asp程序员是不是很悲哀呀

现在这社会基本上不需要ASP程序员了,一面试,都要.NET或者PHP,JSP的,哎,,,,ASP这么不值钱吗,学习ASP是个错误吗
没啥错误 一句话:技多不压身

靠ASP都混不到饭吃了  晕 晕

我的意思是多学一门技术没啥错误 ......

asp升级到asp.net,好多结构都不知道如何转换

asp下面,当要根据不同的权限显示一些功能按钮的话会写成
<%
if 权限=1 then
%>
<input type="submit" name="Submit" value="提交" />
<%
end i ......

asp跟Access数据连接问题。

IsSqlDataBase = 0 '主数据库类型(1=SQL,0=AC)

'===========================================================================
SqlDatabaseName = "ads365" '主数据库名
S ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号