<?php
require('./http.class.php');
$http=new Http('http://192.168.1.23/0618/22.jpg');
$**http->setHeader('Referer: http://localhost');** //主要冒认referer
$res=$http->get();
file_put_contents('./aa.jpg',substr(strstr($res,"\r\n\r\n"),4));
获取有防盗链的图片
最新推荐文章于 2021-09-11 11:14:41 发布