手机
当前位置:查字典教程网 >编程开发 >asp.net教程 >asp图片防盗链的代码
asp图片防盗链的代码
摘要:asp图片防盗链的代码getimage.aspstrBuffer=Request.ServerVariables(HTTP_REFERER)...

asp图片防盗链的代码

getimage.asp

strBuffer = Request.ServerVariables(HTTP_REFERER)

strBuffer = mid(strBuffer, InStr(strBuffer,.) + 1)

strBuffer = left(strBuffer, InStr(strBuffer, /) - 1)

FilePath = /HIDDENIMAGES/

If strBuffer = then

FilePath = FilePath + Request.QueryString(FName)

Else

FilePath = /images/chunfeng.jpg

End If

Response.Redirect(FilePath)

【asp图片防盗链的代码】相关文章:

记录asp.net网站是什么原因导致停止运行的代码

asp用户注册示例代码

asp用户登录模块实例代码

asp.net中调用winrar实现压缩解压缩的代码

asp.net中包含文件的代码及使用方法

asp.net Repeater中使用if的代码

asp.net下定制日期输出格式的代码

ASP.NET实用代码片段

asp.net中利用ashx实现图片防盗链的原理分析

asp.net高效替换大容量字符实现代码

精品推荐
分类导航