php读取纯真ip数据库qqwry.dat¶
下载 qqwry.dat 下载地址: https://raw.github.com/out0fmemory/qqwry.dat/master/historys/2021_07_21/qqwry.dat 你可以在这里找到更新的版本: https://github.com/out0fmemory/qqwry.dat/tre
下载 qqwry.dat¶
下载地址:https://raw.github.com/out0fmemory/qqwry.dat/master/historys/2021_07_21/qqwry.dat 你可以在这里找到更新的版本:https://github.com/out0fmemory/qqwry.dat/tree/master/historys
下载 ip.php¶
https://52ll.org/wp-content/uploads/2018/05/ip.zip
使用样例¶
$ip = new IpInfo;
$log = new UserLog;
$addr = $ip->ip2addr($ip_addr); // 假设 ip_addr 是 168.63.214.xxx
$log->ip_info = $addr['country'].$addr['area']; //香港Microsoft公司