PHP Classes

IP2Location Lite Web Viewer: Query IP2Location data to display using AJAX

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (7)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 77%Total: 435 All time: 6,267 This week: 125Up
Version License PHP version Categories
ip2locationwebviewer 1.0.0GNU Lesser Genera...5Networking, PHP 5, Geography, AJAX


This package can query IP2Location data to display using AJAX.

It performs queries to a IP2Location Lite version database file to retrieve information.

The retrieved data is served in JSON format for AJAX requests to be displayed.

Picture of Chi H.
  Performance   Level  
Name: Chi H. <contact>
Classes: 28 packages by
Country: France France
Age: 38
All time rank: 34622 in France France
Week rank: 38 Up4 in France France Up
Innovation award
Innovation award
Nominee: 22x

Winner: 3x

IP2Location Lite web viewer 1. What is does it do? IP2Location Lite web viewer is a simple viewer for the free IP2Location Lite database making use of JS, PHP, Ajax, Json, HTML, CSS. 1.2. Features - Supports the free IP2location Lite database (DB15 binary file) with millions of updated IP addresses. - Supports sorting of the view with 2 different orders (up and down) and to reset it. - Supports infinite scroll. Navigate millions of IP addresses with the right scrollbar. - Supports a filter with 4 different subnet masks (,,, - Supports a filter with a country code (beta). - Supports searching for an ip address. - Supports a sticky navigation bar. - Asynchronous database query with JS. - faster search with the free optimized IP2Location php library (winner of the IP2Location php library optimization contest 2016). 2. Requirements -Webserver with PHP5+ 3. Installation Download the beta. Unpack the archive and copy it to your webserver. 4. Tutorial 4.1 The source code 4.1.1 Download the source code and copy it to your webserver. 4.2 Free IP2Location lite 4.2.1 It requires the free IP2Location lite database (binary file) in the database folder in the application folder. Create an folder "database" inside the application folder and copy the free IP2Location Lite database (binary file) to it. 4.3 PHP5 4.4.1 It requires the free PHP5+ for webserver. 5. Changelog 14.08.2016 Initial release
  • Screenshot
  Files folder image Files  
File Role Description
Accessible without login Plain text file ajax.php Example class file
Accessible without login Plain text file example.js Data example file
Plain text file IP2locationCalc.php Class class file
Accessible without login Plain text file main.css Data css stylesheet
Accessible without login Plain text file main.html Data HTML page
Accessible without login Plain text file main.js Data class source
Accessible without login Plain text file Doc. readme

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,267
This week:125Up
 User Ratings  
 All time