Take the dynamic download system as an example:
open the file SoftDown.Asp at:
if request.QueryString("ID")="" then
response.write "Unable to connect or no download software specified"
response.end
end if
dim strReferer,domain,splDomain,isHttp
above or below
isHttp=false
'This site downloads the system URL list, do not bring http://
domain="sron.net,61.156.14.223,61.156.14.227"
splDomain=split(domain,",")
strReferer=Request.ServerVariables("HTTP_REFERER")
for iii = 0 to ubound(splDomain)
if instr(strReferer,trim(splDomain(iii)))>0 then isHttp=True
next
if isnull(strReferer) or isHttp=false then
Response.Write "Download links come from other websites, which is not allowed. <a href=""./"">Please enter this site before downloading.</a>"
CloseDatabase
response.end
end if
The website download system URL list is to access the domain name in your download channel URL. For example, your download channel can be accessed with multiple URLs, so separate them with commas here.