From e59e7bc2c155994ed47965e625f0fffb355d8a2b Mon Sep 17 00:00:00 2001 From: IP2Location Date: Wed, 29 Sep 2021 12:46:45 +0800 Subject: [PATCH] Updated README.md. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c7d8fbc..c280c3e 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Below are the methods supported in this class. |---|---| |Constructor|Expect 2 input parameters:
  1. Full path of IP2Proxy BIN data file.
  2. File Open Mode
    • SHARED_MEMORY
    • MEMORY_CACHE
    • FILE_IO
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.| |**string** getDatabaseVersion()|Return the database's compilation date as a string of the form 'YYYY-MM-DD',| -|**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.| +|**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.| |**string** getModuleVersion()|Return the version of module.| |**array** lookup($ip)|Return the IP information in array. Below is the information returned: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.| @@ -68,7 +68,7 @@ echo '

State: ' . $records['regionName'] . '

'; echo '

City: ' . $records['cityName'] . '

'; /* - Type of proxy: VPN, TOR, DCH, PUB, WEB, RES (RES available in PX10 only) + Type of proxy: VPN, TOR, DCH, PUB, WEB, RES (RES available in PX11 only) */ echo '

Proxy Type: ' . $records['proxyType'] . '

';