1 |
gdfgfdsfg
|
|
[code=html]
gsdfgdsfd
[/code]
|
|
|
|
作者:
[楼主] admin
2011-04-09 21:18:16
回复
|
|
|
|
|
2 |
Re:gdfgfdsfg
|
|
[code=vb]
Dim server_v1,server_v2
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
If Mid(server_v1,8,len(server_v2))<>server_v2 Then
Response.Write "非法的盗链"
Response.End
End If
Dim url, body, myCache
url = Request.QueryString("url")
Set myCache = new cache
myCache.name = "picindex"&url
If myCache.valid Then
body = myCache.value
Else
body = GetWebData(url)
myCache.add body,dateadd("d",1,now)
End If
If Err.Number = 0 Then
Response.CharSet = "UTF-8"
Response.ContentType = "application/octet-stream"
Response.BinaryWrite body
Response.Flush
Else
Wscript.Echo Err.Description
End if
[/code]
|
|
|
|
作者:
[楼主] admin
2011-04-09 22:00:30
回复
|
|
|
|
|
|
作者:
[楼主] admin
2011-05-16 16:15:11
回复
|
|
|
|
|
|
作者:
[楼主] admin
2011-05-16 16:15:40
回复
|
|
|
|
|
|
作者:
127.0.0.*
2011-05-16 16:15:47
回复
|
|
|
|
|