All articles| All Pictures| All Softwares| All Video| Go home page| Write articles| Upload pictures

Reading number is top 10 articles
ASP.NET配置(web.config)无法连接到SQL,Server,数据库的解决方法_[Asp.Net教程]
delphi过程与函数的定义以及区别
ADO.NET中的多数据表操作浅析之读取_[Asp.Net教程]
Sql表数据操作_mssql学习_编程技术
Session丢失原因与解决方案小结_[Asp.Net教程]
安全技巧:用PHP,4.2书写安全的脚本_php资料_编程技术
Ajax简单应用,检测用户名是否存在_[AJAX教程]
获取Web.Config文件中AppSetting_[Asp.Net教程]
ASP.NET技巧:repeater实现多列显示_.net资料_编程技术
C#,javascript,读写Cookie_[Asp.Net教程]
Reading number is top 10 pictures
LiXiang early youth photo
超强高考作文
Entered the goddess in the AD1
The hot big eye big breast beauty1
Ashlynn Brooke show proud chest measurement2
The world's top ten most beautiful railway station1
Shandong jinan is about to dismantle a one hundred-year history of the building
Earthquake hedge common sense
The wise woman of chest1
狗狗与主人神同步2
Download software ranking
变速齿轮3.26
电车之狼R
徐若瑄成名作“魔鬼天使”
Tram sex maniac 2 (H) rar bag18
Tram sex maniac 2 (H) rar bag11
豪门浪荡史
功夫熊猫2(上集)
c#程序设计案例教程
星际争霸1.08硬盘免安装版
Proficient in JavaScript
归海一刀 published in(发表于) 2014/2/10 6:52:55 Edit(编辑)
如何在PHP程序中防止盗链_[PHP教程]

如何在PHP程序中防止盗链_[PHP教程]

如何在PHP程序中防止盗链_[PHP教程]

example:

页面: dl.php
--------------------------------------------------------------------------------------

id = _GET['id'];
act = _GET['act'];

switch(act) {
default :
case "display" : displayHTML(); break;
case "down" : down(); break;
}

function displayHTML(id) {
setcookie("visited", "true");

// print your HTML.
}

function down(id) {
if(! isset(_COOKIE['visited']) ) print "你盗联?";

sql = "select path from TABLE where id=". id;
//..............................
}
?>

Download Now...





添加到del.icio.us 添加到新浪ViVi 添加到百度搜藏 添加到POCO网摘 添加到天天网摘365Key 添加到和讯网摘 添加到天极网摘 添加到黑米书签 添加到QQ书签 添加到雅虎收藏 添加到奇客发现 diigo it 添加到饭否 添加到飞豆订阅 添加到抓虾收藏 添加到鲜果订阅 digg it 貼到funP 添加到有道阅读 Live Favorites 添加到Newsvine 打印本页 用Email发送本页 在Facebook上分享


Disclaimer Privacy Policy About us Site Map

If you have any requirements, please contact webmaster。(如果有什么要求,请联系站长)
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.