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 (Fy_cs (fy_x)), "'") <>0 or Instr (LCase (Fy_cs)), "and") Fy_x or <>0 ( LCase (Fy_cs (fy_x)), "select" <>0 or Instr (LCase (Fy_cs)), "Update" fy_x or <>0 ( LCase (Fy_cs (fy_x)), "CHR") <>0 or Instr (LCase (Fy_cs)), "") fy_x or <>0 (Instr ( Request (Fy_cs (fy_x)), ";") <>0 or Instr (LCase (Request (Fy_cs (fy_x)), insert) <>0 or INSTR (LCase (Request (Fy_cs)), "Mid" < >0 Or Instr (LCase (Request (Fy_cs (fy_x))), "Master." <>0 or Instr (LCase (Request (Fy_cs (fy_x)), "delete") <>0 Or Instr (LCase (Request (Fy_cs)), "from" < >0 Or Instr (LCase (Request (Fy_cs (fy_x)), "exec") <>0 Or Instr (LCase (Request (Fy_cs)), "fy_x") <>0 Or Instr (LCase (Request (Fy_cs (fy_x)), "user") <>0 Or Instr (LCase (Fy_cs (fy_x)), "NET" < >0 Then
Select Case FY_CL
Case "1"
Response.Write "<script Language=javascript>alert" ("There is an error!") The value of the parameter "&fy_cs (fy_x) &" contains an illegal string! nn please do not appear in the parameters:;, AND,SELECT,UPDATE,INSERT,DELETE,CHR and other illegal characters! '); Window.close ();</script> "
Case "2"
Response.Write "<script language=javascript>location.href= '" &Fy_Zx& "' </Script>"
Case "3"
Response.Write "<script Language=javascript>alert" ("There is an error!") The value of the parameter "&fy_cs (fy_x) &" contains an illegal string! nn please do not appear in the parameters:;, AND,SELECT,UPDATE,INSERT,DELETE,CHR and other illegal characters! '); Location.href= ' "&Fy_Zx&" ';</script> "
End Select
Response.End
End If
End If
Next