getimage.asp
<% Option Explicit
Dim strBuffer, FilePath
strBuffer = Request.ServerVariables(“HTTP_REFERER“)
strBuffer = mid(strBuffer, InStr(strBuffer,“.“) + 1)
strBuffer = left(strBuffer, InStr(strBuffer, “/“) - 1)
FilePath = “/HIDDENIMAGES/“
If strBuffer = “wap*.net“ then
FilePath = FilePath + Request.QueryString(“FName“)
Else
FilePath = “/images/chunfeng.jpg“
End If
Response.Redirect(FilePath)
Jenasen(ID2670)修改此贴05-13 09:46
发表回复