A script that prevents external data

xiaoxiao2021-03-06  44

A scripting to prevent external data from submitting [Repost]

Joined time 2004-2-27 2:27:53 This site name www.code365.com Browse statistics Total: 29 | Year: 6 | Month: 6 | day: 3 may modify Script Subworked from local Submation, this existence Safe submission issues, so you should be required to submit from the server break, other addresses submission is not invalid: <% server_v1 = cstr (Request.ServerVariables) Server_v2 = cstr (Request.SerVariables ("Server_name") IF mid (server_v1,8, len (server_v2)) <> server_v2 thenresponse.write "

" response.write "
" Response.write "The path you submit is incorrect, prohibiting submission of data from site, please do not mess with this parameter!" response.write " "Response.Endend IF%> Transferred from Classic Forum

转载请注明原文地址:https://www.9cbs.com/read-70504.html

New Post(0)
CopyRight © 2020 All Rights Reserved
Processed: 0.049, SQL: 9