Coder Social home page Coder Social logo

mdeora / ip2location-php-module Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chrislim2888/ip2location-php-module

0.0 2.0 0.0 4.18 MB

This module is a PHP module that enables the user to find the country, region, city, coordinates, zip code, ISP, domain name, timezone, connection speed, IDD code, area code, weather station code and weather station name that any IP address or host name originates from.

Home Page: http://www.ip2location.com

PHP 100.00%

ip2location-php-module's Introduction

IP2Location (PHP Module)

Total Downloads

This is the official release maintained by IP2Location.com

This PHP module provides fast lookup of country, region, city, latitude, longitude, ZIP code, time zone, ISP, domain name, connection speed, IDD code, area code, weather station code, weather station name, MNC, MCC, mobile brand, elevation, and usage type from IP address by using IP2Location database. This module uses a file based database available at IP2Location.com.

This module can be used in many types of projects such as:

  1. select the geographically closest mirror
  2. analyze your web server logs to determine the countries of your visitors
  3. credit card fraud detection
  4. software export controls
  5. display native language and currency
  6. prevent password sharing and abuse of service
  7. geotargeting in advertisement

The database will be updated in monthly basis for the greater accuracy. Free sample database is available at /samples directory or download it from http://www.ip2location.com/developers.

The complete database is available at http://www.ip2location.com under Premium subscription package. This module also support IP2Location IPv6 version.

INSTALLATION

To install this module, unzip the package and copy the following files to your web folder.

  • IP2Location.php
  • example.php
  • databases/IP-COUNTRY-SAMPLE.BIN
  • databases/IPV6-COUNTRY-SAMPLE.BIN

To test this installation, please browse example.php using web browser.

DEPENDENCIES

The complete database is available at http://www.ip2location.com under subscription package.

COPYRIGHT AND LICENCE

Copyright (C) 2005-2015 by IP2Location.com, [email protected]

ip2location-php-module's People

Contributors

chrislim2888 avatar gjuric avatar

Watchers

mdeora avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.