手机
当前位置:查字典教程网 >编程开发 >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(c#)利用构造器链的代码

asp.net 网页编码自动识别代码

c# .net 生成图片验证码的代码

asp (author:killer)禁止站外提交表单的代码

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

asp.net Repeater中使用if的代码

DataList 中动态绑定服务器子控件的代码

asp.net 多字段模糊查询代码

破解图片防盗链的代码(asp/php)测试通过

Asp.NET 多层登陆实现代码

精品推荐
分类导航