GithubHelp home page GithubHelp logo

iriven / geoip2country Goto Github PK

View Code? Open in Web Editor NEW
31.0 5.0 7.0 38.79 MB

A PHP IP Address Geolocation library to help you identify visitors geographical location.

License: GNU General Public License v3.0

PHP 100.00%
geoip geolocation ip2country geo ip iriven country ipv4 geoip-data ipv6

geoip2country's People

Contributors

iriven avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

geoip2country's Issues

Problems initializing

I've copied the script to my server and tried to run it a first time, pulling my local IP's country.
However, no IP data was downloaded, only the subdirectory "GeoIPDatas" created. I've changed directory rights to "777", script now returned "IP Ranges provider file not found in /var/www/vhosts/mydomain.com/httpdocs/inc/GeoIPCountry.php on line 282

I've copied the subdirectory included in the package to the subdirectory - then the function gave a result, but incorrect country returned. Might have to do with outdated state - so I called $IP2Country->Admin()->updateDatabase(); in the code, but it didn't seem to do anything?

bug in update

when i update db its stuck in 127.php and the all ips save in it
the file get bigger to 4,5 mb
and any file after 127.php ignore it and no updated?
untitled

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.