Recommended: How to determine whether the remote picture exists The following is the referenced content: Asp skills to determine whether the remote image exists [ASP code] function CheckURL(byval A_strUrl)set XMLHTTP = Server.CreateObject(&q
| The following is the quoted content: dim sql_injdata,SQL_inj,SQL_Get,SQL_Data,Sql_Post SQL_injdata = '|and|exec|insert|select|delete|update|count|*|%|chr|mid|master|truncate|char|declare SQL_inj = split(SQL_Injdata,|) If Request.QueryString<> Then For Each SQL_Get In Request.QueryString For SQL_Data=0 To Ubound(SQL_inj) if instr(Request.QueryString(SQL_Get),Sql_Inj(Sql_DATA))>0 Then Response.Write <Script Language=javascript>alert('Note: Please do not submit illegal requests!');history.back(-1)</Script> Response.end end if next Next End If If Request.Form<> Then For Each Sql_Post In Request.Form For SQL_Data=0 To Ubound(SQL_inj) if instr(Request.Form(Sql_Post),Sql_Inj(Sql_DATA))>0 Then Response.Write <Script Language=javascript>alert('Note: Please do not submit illegal requests!');history.back(-1)</Script> Response.end end if next next end if |
Share: Interpreting a mistake that is easy to make when learning ASP programming in beginners In ASP programming, identity authentication can be said to be often used. But how can we achieve authentication security? Form submission page: sub.htm The following is the referenced content: