We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我觉得readme.txt 或 IP.class.php里加下面这种内容会方便初级PHP用户:
/* 全球 IPv4 地址归属地数据库(IPIP.NET 版) 高春辉(pAUL gAO) <[email protected]> Build 20170905 版权所有 IPIP.NET (C) 2006 - 2017 保留所有权利,北京天特信科技有限公司 本代码仅用于 DAT 格式,请注意及时更新 IP 数据库版本 数据问题请加 QQ 交流群: 346280296 Code for PHP 5.3+ only! 下载地址: https://www.ipip.net/free_download/ https://github.com/17mon/php */ include_once('IP.class.php');
echo "<pre>"; print_r(IP::find('178.159.37.105'));
print_r(IP::find($_SERVER['REMOTE_ADDR']));
echo "</pre>"; echo '<br>也可能是:'.join('',IP::find($ip));
The text was updated successfully, but these errors were encountered:
Array ( [0] => 乌克兰 [1] => 乌克兰 [2] => [3] => )
Sorry, something went wrong.
感谢大佬
No branches or pull requests
我觉得readme.txt 或 IP.class.php里加下面这种内容会方便初级PHP用户:
/*
全球 IPv4 地址归属地数据库(IPIP.NET 版)
高春辉(pAUL gAO) <[email protected]>
Build 20170905 版权所有 IPIP.NET
(C) 2006 - 2017 保留所有权利,北京天特信科技有限公司
本代码仅用于 DAT 格式,请注意及时更新 IP 数据库版本
数据问题请加 QQ 交流群: 346280296
Code for PHP 5.3+ only!
下载地址: https://www.ipip.net/free_download/
https://github.com/17mon/php
*/
include_once('IP.class.php');
echo "<pre>";
print_r(IP::find('178.159.37.105'));
print_r(IP::find($_SERVER['REMOTE_ADDR']));
echo "</pre>";
echo '<br>也可能是:'.join('',IP::find($ip));
The text was updated successfully, but these errors were encountered: