作者:牛牛的牛66_674 | 来源:互联网 | 2013-04-22 17:17
<?image_path=images/image_file=image_path._GET['name'];sTmpVar=fread(fopen(image_file,‘r’),filesize(image_path));head
image_path=”images/”
image_file=image_path._GET[&#39;name&#39;];
sTmpVar = fread(fopen(image_file, ‘r’), filesize(image_path));
header(“Content-type: image/* “);
echo sTmpVar;
?>
这段代码不光可以隐藏图片,代码后三行不用改,连FLASH真实地址也可以隐藏.
用这个结合其它技术可以防止盗链