![]() Return an array of the complete IP list in CIDR format of the detected row record based on the given IP address.īelow is the description of the functions available in the WebService class. Note: although the above names are not exactly matched with the names given in this link, but they are self-described. You can visit IP2Location for the description of each field. Return the database's type, 1 to 25 respectively for DB1 to DB25. Return the database's compilation date as a string of the form 'YYYY-MM-DD' Full path of IP2Location BIN data file.įor 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.Database Classīelow is the description of the functions available in the Database class. You can check the example.php file to learn more about usage. ![]() To test this installation, please browse examples/example.php using web browser. Ip2location of my laptop install#Install this package using composer as below: composer require ip2location/ip2location-php There are more than 13 types of information that you can retrieve from an IP address. If you require different granularity of IP information, you can visit to download the relevant BIN file, and the information will made ready for you. That's it, and no code modification needed. If you would like to enable IPv6 support, you just need to replace your BIN file with IPv6 version. Ip2location of my laptop update#Monthly update is available for both IP2Location LITE and commercial database.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |