Importing IP2Location data into SQLITE and querying with C# (IPv4)

Intro The aim of this guide is to demonstrate how to import IP2Location data (DB26) in CSV form into SQLITE and then query the data using C#. First of all, you will need to download the IP2Location DB26 CSV file. Download commercial version at https://ip2location.com/download?code=DB26 Extract out the IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ZIPCODE-TIMEZONE-ISP-DOMAIN-NETSPEED-AREACODE-WEATHER-MOBILE-ELEVATION-USAGETYPE-ADDRESSTYPE-CATEGORY-DISTRICT-ASN.CSV file […]

How to use IP2Location in R Language

This tutorial demonstrates how to use the IP2Location library in the R programming language. We used RStudio, an open source IDE platform, for this tutorial explanation. For our geolocation library, we used the IP2Location Python Library as R has a ready package, reticulate, to interact with the python code. To […]

Importing IP2Location data into Oracle Database and querying with PHP (IPv4)

The aim of this guide is to demonstrate how to import IP2Location data (DB26) in CSV form into Oracle Database and then query the data in a PHP web page. Download commercial version at https://ip2location.com/download?code=DB26 Extract out the IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ZIPCODE-TIMEZONE-ISP-DOMAIN-NETSPEED-AREACODE-WEATHER-MOBILE-ELEVATION-USAGETYPE-ADDRESSTYPE-CATEGORY-DISTRICT-ASN.CSV file from the downloaded zipped file. Important Note We will not […]

How to import PX8 (IPv6) into MSSQL 2017

Intro This guide aims to demonstrate how to load the IP2Proxy PX8 (IPv6) CSV file into a Microsoft SQL Server 2017 table. If you’re using an earlier version of the SQL Server, you will need to refer to our FAQ page at https://www.ip2location.com/faqs/px8-ip-proxytype-country-region-city-isp-domain-usagetype-asn-lastseen#database for technical information about creating the table […]

How to import DB24 (IPv6) into MSSQL 2017

Intro This guide aims to demonstrate how to load data from the IP2Location DB24 (IPv6) CSV file into a Microsoft SQL Server 2017 table. If you’re using an earlier version of the SQL Server, you will need to refer to our FAQ page for technical information about creating the table and […]

Redirect URL with the Apache Web Server using IP2Location

Intro Apache is a popular open-source web server being used on both the Linux and Windows environments. In this article, we will demonstrate how to enable geolocation redirection in Apache via the IP2Location Apache Module for the Debian Linux environment. Pre-requisites We will assume that you have a functioning Apache […]