ip归属地查询
<?php //要查询的IP地址 $IP = "39.156.69.79"; //拼接url $url = "https://api.vore.top/api/IPdata?ip=".$ip; //请求数据并解码 $result = json_decode(file_get_contents($url),true); //输出IP归属地信息 print_r($result); ?>
<?php //要查询的IP地址 $IP = "39.156.69.79"; //拼接url $url = "https://api.vore.top/api/IPdata?ip=".$ip; //请求数据并解码 $result = json_decode(file_get_contents($url),true); //输出IP归属地信息 print_r($result); ?>
评论
评论列表
暂无评论,快来抢沙发吧~