Display Sunrise and Sunset Time Using PHP and BIN Database

In this tutorial, we demonstrate you on how to display visitor’s sunrise and sunset time based on their IP address using PHP programming languages and IP2Location BIN database. This tutorial uses the IP2Location module, available at https://www.ip2location.com/developers/php, to query IP information from BIN database. Free BIN databases are available for download […]

Display Sunrise and Sunset Time Using PHP and MySQL Database

Display Sunrise and Sunset Time Using PHP and MySQL Database In this tutorial, we demonstrate you on how to display visitor’s sunrise and sunset time based on their IP address using PHP programming languages and IP2Location MySQL database. In this tutorial, we use the IP2Location LITE database to lookup country […]

Display Visitor’s Local Time Using VB.NET and MySQL Database

In this tutorial, we demonstrate you on how to display visitor’s local time based on their IP address using VB.NET programming languages and IP2Location MySQL database. In this tutorial, we use the IP2Location LITE database to lookup country of origin from the visitor’s IP address. Free databases are available for […]

Display Visitor’s Local Time Using PHP and BIN Database

In this tutorial, we demonstrate you on how to display visitor’s local time based on their IP address using PHP programming languages and IP2Location BIN database. This tutorial uses the IP2Location module, available at https://www.ip2location.com/development-libraries/ip2location/php, to query IP information from BIN database. Free BIN databases are available for download at IP2Location LITE […]

Display Visitor’s Local Time Using PHP and MySQL Database

In this tutorial, we demonstrate you on how to display visitor’s local time based on their IP address using PHP programming languages and IP2Location MySQL database. In this tutorial, we use the IP2Location LITE database to lookup country of origin from the visitor’s IP address. Free databases are available for […]

Find Weather Forecast from IP Address

In this tutorial, I will present how to retrieve the weather forecast for your location based only on your current IP. The tutorial will have the following 5 sections, that will: Describe elements needed for weather forecast retrieval Describe the weather station code field of IP2Location Show code that gets […]

Find distance between 2 IPs using BASH

In this tutorial, we will show how to calculate the distance between 2 IPs using geographical coordinates provided by any IP2Location database, except DB1, DB2, DB3, DB3 and DB7, as you can see at https://www.ip2location.com/databases The programming language for this tutorial is BASH and you have to know a little scripting. […]