Skip to content

Commit 17c1584

Browse files
author
zhao.binyan
committed
更新文档,升级数据库版本
1 parent 856a7d6 commit 17c1584

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

README.MD

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,8 @@ php tests/ip.php -i 2409:8a00:6c1d:81c0:51b4:d603:57d1:b5ec
104104
</div>
105105

106106
## 感谢
107-
1,纯真IP库
108-
107+
1,纯真IP库(需要安装 EXE ,解压获得离线包)
109108
https://www.cz88.net/help?id=free
110109

111-
110+
2,IPV6(目前已经不再提供离线下载包)
111+
https://ip.zxinc.org/ipquery/

UPDATE.MD

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@
55
```
66
IP 地理位置查询类
77
8-
2021-04-10 赵彬言
8+
2023-12-01
9+
升级 qqwry.day 2023011022 版本
910
10-
1,3.x 支持ipv6,无缝衔接2.x
1111
12+
2021-04-10
13+
14+
1,3.x 支持ipv6,无缝衔接2.x
1215
3.x已完成的功能有
1316
1417
- 支持ipv6
@@ -20,42 +23,42 @@ IP 地理位置查询类
2023
2124
2225
23-
2020-10-30 赵彬言
26+
2020-10-30
2427
2528
1,大更新,重构代码。兼容历史代码。希望能支持ipv6
2629
27-
2019-07-25 赵彬言
30+
2019-07-25
2831
2932
1,增加自动更新功能,参考 https://blog.shuax.com/archives/QQWryUpdate.html 感谢 https://github.com/itbdw/ip-database/issues/10
3033
31-
2017-09-12 赵彬言
34+
2017-09-12
3235
3336
1,缩减返回数据,去掉字段 remark smallarea beginip endip
3437
2,将调用改为单例模式,保证只读取一次文件
3538
3,修复 bug,直接将返回 gbk 编码内容转为 utf-8,移除编码隐患
3639
4,去掉了"省"标志,变成了如 中国 浙江 杭州市 这样的数据
3740
38-
2017-09-04 赵彬言
41+
2017-09-04
3942
4043
1,更新 composer 相对路径,bug fix
4144
42-
2015-06-11 赵彬言
45+
2015-06-11
4346
4447
1,支持composer 方式引用
4548
2,更新 is_valid_ip 实现
4649
47-
2013-11-10 赵彬言
50+
2013-11-10
4851
4952
1,优化,新增支持到市区,县城
5053
2,返回结构增加 smallarea,具体请看注释
5154
52-
2012-10-21 赵彬言
55+
2012-10-21
5356
5457
1,增加市,县显示
5558
2,去掉不靠谱的自动转码
5659
先统一改为 GBK,最后再做转换解决编码问题
5760
58-
2012-08-15 赵彬言
61+
2012-08-15
5962
6063
1,更新为 PHP5 的规范
6164
2,增加 wphp_ip2long 方法

bin/update-ip.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
* Time: 下午2:24
77
*/
88

9+
die("Not Available.");
10+
911
/*
1012
纯真数据库自动更新原理实现
1113
www.shuax.com 2014.03.27
File renamed without changes.
File renamed without changes.

src/libs/qqwry.dat

915 KB
Binary file not shown.

0 commit comments

Comments
 (0)