IP2Location is going to update the country names used in IP2Location or IP2Proxy products according to the latest ISO-3166 standards defined by ISO, the International Organization for Standardization. There will be no changes to the ISO3166-1 Alpha-2 Codes (the 2-digits Country Code), but only for certain full country names. Please […]
Importing IP2Location data into Cassandra and querying with PHP (IPv4)
Intro The guide will demonstrate how to import IP2Location data (DB26) in CSV form into Apache Cassandra and then query the data in a PHP page. 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 from […]
How to create map visualization in Kibana using IP2Location Data
You are able to create region maps via the Kibana Visualize Service. Region maps are thematic maps in which boundary vector shapes are colored using a gradient. With the help of region maps, you will be able to learn more about your visitors. For example, where are they coming from, […]
Importing IP2Location data into PostgreSQL and querying with PHP (IPv4)
Intro The guide will demonstrate how to import IP2Location data (DB26) in CSV form into PostgreSQL and then query the data in a PHP page. 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 from the […]
Blocking country visitors in ASP.NET MVC with C#
Intro For this article, we will look into how to use the IP2Location .NET Component to block website visitors in ASP.NET MVC 5 project. We will assume that you already know the basics of ASP.NET MVC so we will just show the relevant codes using C#. Our example will be […]
Using IP2Location .NET component in ASP.NET MVC with C#
Intro For this article, we will look into how to integrate the IP2Location .NET component within an ASP.NET MVC 5 project. We will assume that you already know the basics of ASP.NET MVC so we will just show the relevant codes using C#. Our example will be a simple form […]
How to get geolocation from a visitor’s IP using the Free IP2Location™ LITE Database in Symfony
In this tutorial, we’ll show you how to get geolocation from a visitor’s IP using the Free IP2Location™ LITE Database in Symfony 5 project. This project supports for Symfony version 4 onward. Step 1. Download Free IP2Location™ LITE DatabaseAs the first step, you will need the CSV database of IP2Location […]
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 display country code in the Apache log using the IP2Location Apache module
Intro Apache is a popular open-source web server being used in both the Linux and Windows environments. In this article, we will demonstrate how to display country code to your Apache log via the IP2Location Apache Module for the Debian Linux environment. Pre-requisites We will assume that you have a […]
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 […]