Skip to content

Commit e59e7bc

Browse files
committed
Updated README.md.
1 parent 568f58c commit e59e7bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Below are the methods supported in this class.
1818
|---|---|
1919
|Constructor|Expect 2 input parameters:<ol><li>Full path of IP2Proxy BIN data file.</li><li>File Open Mode<ul><li> SHARED_MEMORY</li><li>MEMORY_CACHE</li><li>FILE_IO</li></ul></li></ol>For SHARED_MEMORY and MEMORY_CACHE, it will require your server to have sufficient memory to hold the BIN data, otherwise it will raise the errors during the object initialization.|
2020
|**string** getDatabaseVersion()|Return the database's compilation date as a string of the form 'YYYY-MM-DD',|
21-
|**string** getPackageVersion()|Return the database's type, 1 to 10 respectively for PX1 to PX10. Please visit https://www.ip2location.com/databases/ip2proxy for details.|
21+
|**string** getPackageVersion()|Return the database's type, 1 to 10 respectively for PX1 to PX11. Please visit https://www.ip2location.com/databases/ip2proxy for details.|
2222
|**string** getModuleVersion()|Return the version of module.|
2323
|**array** lookup($ip)|Return the IP information in array. Below is the information returned:<ul><li>ipNumber</li><li>ipVersion</li><li>ipAddress</li><li>countryCode</li><li>countryName</li><li>regionName</li><li>cityName</li><li>isp</li><li>domain</li><li>usageType</li><li>asn</li><li>as</li><li>lastSeen</li><li>threat</li><li>proxyType</li><li>isProxy</li><li>provider</li></ul>You can visit [IP2Location](https://www.ip2location.com/database/px10-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen-threat-residential) website for the description of each field. Note: although the above names are not exactly matched with the names given in this link, but they are self-described.|
2424

@@ -68,7 +68,7 @@ echo '<p><strong>State: </strong>' . $records['regionName'] . '</p>';
6868
echo '<p><strong>City: </strong>' . $records['cityName'] . '</p>';
6969

7070
/*
71-
Type of proxy: VPN, TOR, DCH, PUB, WEB, RES (RES available in PX10 only)
71+
Type of proxy: VPN, TOR, DCH, PUB, WEB, RES (RES available in PX11 only)
7272
*/
7373
echo '<p><strong>Proxy Type: </strong>' . $records['proxyType'] . '</p>';
7474

0 commit comments

Comments
 (0)