Skip to content

Commit 07e97ae

Browse files
committed
update
1 parent e3a9d7a commit 07e97ae

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ IPIP.net官方支持的解析datx格式的php代码
99
<code>
1010
require_once __DIR__ . '/vendor/autoload.php';
1111

12-
$bs = new ipip\datx\City("c:/work/tiantexin/17mon/mydata4vipday4.datx");
12+
$bs = new ipip\datx\City("/path/to/mydata4vipday4.datx");
1313
var_export($bs->find("223.220.233.0"));
1414

15-
$bs = new ipip\datx\District("c:/work/tiantexin/framework/library/ip/quxian.datx");
15+
$bs = new ipip\datx\District("/path/to/quxian.datx");
1616
var_export($bs->find("1.12.29.0"));
1717

18-
$bs = new ipip\datx\BaseStation("c:/work/tiantexin/17mon/station_ip.datx");
18+
$bs = new ipip\datx\BaseStation("/path/to/station_ip.datx");
1919
var_export($bs->find("223.220.233.0"));
2020
</code>
2121
</pre>

0 commit comments

Comments
 (0)