Integrating IP2Location C Library With Go Programming Language

The aim of this guide is to demonstrate integrating the IP2Location C library within the Go programming language. In our example, we will be using the Linux environment. First of all, you will need to install the IP2Location C library. Follow the instructions at https://ip2location.com/developers/c to install the IP2Location C library. Next, […]

Integrating IP2Location C Library With D Programming Language

The aim of this guide is to demonstrate integrating the IP2Location C library within the D programming language. In our example, we will be using the Linux environment. First of all, you will need to install the IP2Location C library. Follow the instructions at https://ip2location.com/developers/c to install the IP2Location C library. Next, […]

Display Visitor’s GeoLocation Using Web Service in C#

Geolocation is a great way to put relevant content to your web visitors and it is a technology that can be used in almost any application you can think of. In this tutorial, we use the IP2Location.io IP Geolocation API to lookup geolocation information from the visitor’s IP address. Instead […]

IP Address Lookup Caching Using ElastiCache Memcached

In this tutorial, we will demonstrate how to cache an IP2Location query with the help of Amazon Web Service ElastiCache. ElastiCache has 2 engines available for caching. The one we will be using is the memcached engine. For this demonstration, we will be running our PHP code on an AWS […]

IP address proxy lookup optimization For MySQL

In this tutorial, we will do a comparison between a standard IP range query vs a more optimized query. In this case, there may be gaps in the ranges with no data. For this comparison, we will use the IP2Proxy PX2 database to lookup proxy data from the visitor’s IP […]

Converting IP2Proxy data from IP number ranges to CIDR

The aim of this guide is to demonstrate how to convert the IP2Proxy data from IP number ranges to CIDR. First, download the IP2Proxy data file and extract out the IP2Proxy CSV data file.. Next, create a file called ip2proxy-to-cidr.pl and paste the following Perl code into it. use strict; use […]