Skip to content

Commit

Permalink
更新文档,升级数据库版本
Browse files Browse the repository at this point in the history
  • Loading branch information
zhao.binyan committed Dec 1, 2023
1 parent 856a7d6 commit 17c1584
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 13 deletions.
6 changes: 3 additions & 3 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ php tests/ip.php -i 2409:8a00:6c1d:81c0:51b4:d603:57d1:b5ec
</div>

## 感谢
1,纯真IP库

1,纯真IP库(需要安装 EXE ,解压获得离线包)
https://www.cz88.net/help?id=free


2,IPV6(目前已经不再提供离线下载包)
https://ip.zxinc.org/ipquery/
23 changes: 13 additions & 10 deletions UPDATE.MD
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
```
IP 地理位置查询类
2021-04-10 赵彬言
2023-12-01
升级 qqwry.day 2023011022 版本
1,3.x 支持ipv6,无缝衔接2.x
2021-04-10
1,3.x 支持ipv6,无缝衔接2.x
3.x已完成的功能有
- 支持ipv6
Expand All @@ -20,42 +23,42 @@ IP 地理位置查询类
2020-10-30 赵彬言
2020-10-30
1,大更新,重构代码。兼容历史代码。希望能支持ipv6
2019-07-25 赵彬言
2019-07-25
1,增加自动更新功能,参考 https://blog.shuax.com/archives/QQWryUpdate.html 感谢 https://github.com/itbdw/ip-database/issues/10
2017-09-12 赵彬言
2017-09-12
1,缩减返回数据,去掉字段 remark smallarea beginip endip
2,将调用改为单例模式,保证只读取一次文件
3,修复 bug,直接将返回 gbk 编码内容转为 utf-8,移除编码隐患
4,去掉了"省"标志,变成了如 中国 浙江 杭州市 这样的数据
2017-09-04 赵彬言
2017-09-04
1,更新 composer 相对路径,bug fix
2015-06-11 赵彬言
2015-06-11
1,支持composer 方式引用
2,更新 is_valid_ip 实现
2013-11-10 赵彬言
2013-11-10
1,优化,新增支持到市区,县城
2,返回结构增加 smallarea,具体请看注释
2012-10-21 赵彬言
2012-10-21
1,增加市,县显示
2,去掉不靠谱的自动转码
先统一改为 GBK,最后再做转换解决编码问题
2012-08-15 赵彬言
2012-08-15
1,更新为 PHP5 的规范
2,增加 wphp_ip2long 方法
Expand Down
2 changes: 2 additions & 0 deletions bin/update-ip.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
* Time: 下午2:24
*/

die("Not Available.");

/*
纯真数据库自动更新原理实现
www.shuax.com 2014.03.27
Expand Down
File renamed without changes.
File renamed without changes.
Binary file modified src/libs/qqwry.dat
Binary file not shown.

0 comments on commit 17c1584

Please sign in to comment.