图片防盗链破击

来源:互联网 发布:linux inode 编辑:程序博客网 时间:2024/04/29 07:12
1. 先建立一个krdo.php 内容为:

<?php
if(substr($_GET['url'], 0, 7)!="http://"){
exit;
}
readfile($_GET['url']);

?>



2'  img src 地址改为   http://yourweb/krdo.php?url=http://

0 0