时间:2021-04-18加入收藏
$sheli = $_SERVER['HTTP_sheliER'];if($sheli){$url = parse_url($sheli);if($url['host'] != 'huangbin.net'){exit('拒绝访问!');}}
$sheli = $_SERVER['HTTP_sheliER'];
if($sheli){$url = parse_url($sheli);$t=explode('.',$url['host']);$l=count($t);$domainStr=$t[$l-2].'.'.$t[$l-1];if($domainStr != 'huangbin.net') {exit('拒绝访问!');}}