时间:2021-07-01 10:21:17 帮助过:6人阅读
csdn
csdn
csdn
csdn
csdn
$out=strtolower(@file_get_contents(http://www.xxx.com)); if($out){ $out=str_replace("\r\n","",$out); $out=str_replace("\r","",$out); $out=str_replace("\n","",$out); $havelink=preg_match_all('/(.*?)<\/a>/i', $out, $m); if($havelink||strstr($robots,'nofollow')){ echo "友情链接存在"; } }
$array = <<