糖尿病人尿液会不甜吗:Fy_Url=Request.ServerVariables("QUERY_STRING")

来源:百度文库 编辑:杭州交通信息网 时间:2024/04/29 18:37:50
Dim Fy_Url,Fy_a,Fy_x,Fy_Cs()

On Error Resume Next
Fy_Url=Request.ServerVariables("QUERY_STRING")
Fy_a=split(Fy_Url,"&")
redim Fy_Cs(ubound(Fy_a))
On Error Resume Next
for Fy_x=0 to ubound(Fy_a)
Fy_Cs(Fy_x) = left(Fy_a(Fy_x),instr(Fy_a(Fy_x),"=")-1)
Next
For Fy_x=0 to ubound(Fy_Cs)
If Fy_Cs(Fy_x)<>"" Then
If Instr(LCase(Request(Fy_Cs(Fy_x))),"'")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"and")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"exec")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"select")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"update")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"chr")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"delete")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),";")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"*")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"%")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"mid")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"master")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"char")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"declare")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"truncate")<>0 or Instr(LCase(Request(Fy_Cs(Fy_x))),"insert")<>0 Then
Response.Redirect("error.asp?flag=contentflase")
End If
End If
Next

是一个类,String 类表示字符串。 在 Java 程序中所有的字符串常量,如 "abc",都被实现为这个类的实例。

String 类包括检查字符串序列中单个字符的方法,这些方法用于比较字符串、查找字符串、抽取子字符串、生成一个字符串拷贝和把所有字符都转换为大写或小写。