set home page
Added to the favorites
All articles(网络文学目录)
All Pictures(图片目录)
All Softwares(软件目录)
php如何隐藏图片的真实地址_[PHP教程]
Writer:
归海一刀
Article type:
Programming skills(编程技巧)
Time:
2014/2/17 7:29:53
Browse times:
474
Comment times:
0
php如何隐藏图片的真实地址_[PHP教程]
Head photo
Go homepage
Upload pictures
Write articles
php如何隐藏图片的真实地址_[PHP教程]
image_path="images/"
image_file=image_path._GET['name'];
sTmpVar = fread(fopen(image_file, 'r'), filesize(image_path));
header("Content-type: image/* ");
echo sTmpVar;
?>
这段代码不光可以隐藏图片,代码后三行不用改,连FLASH真实地址也可以隐藏.
用这个结合其它技术可以防止盗链
There are 0 records,
Comment:
Must be registered users to comment(必须是注册用户才能发表评论)
Comments can't is empty(评论不能为空)
Disclaimer
Privacy Policy
About us
Site Map
Copyright ©2011-
uuhomepage.com, Inc. All rights reserved.