% Option Explicit Dim strBuffer, FilePath strBuffer = Request.ServerVariables("HTTP_REFERER") strBuffer = mid(strBuffer, InStr(strBuffer,".") + 1) strBu" />

雷火电竞-中国电竞赛事及体育赛事平台

歡迎來(lái)到入門教程網(wǎng)!

編程問(wèn)答

當(dāng)前位置:主頁(yè) > 網(wǎng)絡(luò)編程 > 編程問(wèn)答 >

如何阻止別人非法鏈接你網(wǎng)站的圖片?

來(lái)源:本站原創(chuàng)|時(shí)間:2020-01-11|欄目:編程問(wèn)答|點(diǎn)擊:

getimage.asp<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

<% 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 = "intels.net" then

FilePath = FilePath + Request.QueryString("FName")

Else

FilePath = "/images/chunfeng.jpg"

End If

Response.Redirect(FilePath)

上一篇:如何計(jì)算下載一個(gè)文件需要多長(zhǎng)時(shí)間?

欄    目:編程問(wèn)答

下一篇:如何檢測(cè)用戶第一次訪問(wèn)我的網(wǎng)站并顯示友好信息?

本文標(biāo)題:如何阻止別人非法鏈接你網(wǎng)站的圖片?

本文地址:http://www.jygsgssxh.com/a1/bianchengwenda/12047.html

網(wǎng)頁(yè)制作CMS教程網(wǎng)絡(luò)編程軟件編程腳本語(yǔ)言數(shù)據(jù)庫(kù)服務(wù)器

如果侵犯了您的權(quán)利,請(qǐng)與我們聯(lián)系,我們將在24小時(shí)內(nèi)進(jìn)行處理、任何非本站因素導(dǎo)致的法律后果,本站均不負(fù)任何責(zé)任。

聯(lián)系QQ:835971066 | 郵箱:835971066#qq.com(#換成@)

Copyright © 2002-2020 腳本教程網(wǎng) 版權(quán)所有