PHP头条
热点:

自己用的备案查询接口开放-PHP源码


function checkICP($url = '', $type = '') {
	$url = trim($url);
	if(empty($url)) {
		return;
	}
	$htmltext = file_get_contents('http://api.befen.net/icp/'.$url);
	if(empty($htmltext)) {
		return;
	}
	if($type == 'all') {
		return $htmltext;
	} else {
		$icparr = explode(',', $htmltext);
		return $icparr[2];
	}
}

www.phpzy.comtrue/phpyy/44234.htmlTechArticle自己用的备案查询接口开放-PHP源码 function checkICP($url = , $type = ) {$url = trim($url);if(empty($url)) {return;}$htmltext = file_get_contents(http://api.befen.net/icp/.$url);if(empty($htmltext)) {return;}if($type == all) {re...

相关文章

PHP之友评论

今天推荐