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: 427 All time: 6,297 This week: 172Up
Version License PHP version Categories
ip2locationwebviewer 1.0.0GNU Lesser Genera...5Networking, PHP 5, Geography, AJAX
Description Author

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
Innovation award
Innovation award
Nominee: 22x

Winner: 3x

Details
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 (255.255.255.255, 255.255.255.0, 255.255.0.0,255.0.0.0).
- 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
Screenshots  
  • 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 readme.md Doc. readme

 Version Control Unique User Downloads Download Rankings  
 0%
Total:427
This week:0
All time:6,297
This week:172Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:93%StarStarStarStarStar
Documentation:93%StarStarStarStarStar
Examples:87%StarStarStarStarStar
Tests:-
Videos:-
Overall:77%StarStarStarStar
Rank:71
  
For more information send a message to info at phpclasses dot org.