We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7fe920 commit 9ee56c2Copy full SHA for 9ee56c2
README.md
@@ -35,7 +35,8 @@ Open and read IP2Proxy binary database. There are 3 modes:
35
```
36
require 'class.IP2Proxy.php';
37
38
-$db = new \IP2Proxy\Database('./samples/IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP.SAMPLE.BIN', \IP2Proxy\Database::FILE_IO);
+$db = new \IP2Proxy\Database();
39
+$db->open('./samples/IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP.SAMPLE.BIN', \IP2Proxy\Database::FILE_IO);
40
41
42
To start lookup result from database, use the following codes:
0 commit comments