通过PHP file_get_contents 方式写查询 ICP 备案 API(附源码)
先附上代码 <?php header('content-type:application/json;charset=utf8'); $domain = $_GET['domain']; $str = file_get_contents('http://icp.chinaz.com/'.$domain); function GetBetween...
最新获取历史今日API源码
测试地址:https://api.xcboke.cn/api/lishi 代码: <?php function showjson($json){ header('Access-Control-Allow-Origin:*'); header('Content-type: application/json'); exit(json_enc...