IP to Country Database UPDATED!

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • JoEsaR
    replied
    i try to download this attachment 10 times..but always error.

    Leave a comment:


  • youngbobby
    replied
    Originally posted by subzero View Post
    Code:
    yum install mod_geoip
    
    You will then find the GeoIP database (GeoIP.dat) in the /usr/share/GeoIP directory. As the geographic allocation of IP addresses can change over time, it's a good idea to download the newest GeoIP.dat now:
    
    cd /usr/share/GeoIP/
    mv GeoIP.dat GeoIP.dat_orig
    wget http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
    gunzip GeoIP.dat.gz
    
    Next we restart Apache:
    
    /etc/init.d/httpd restart
    
    That's it already!
    
     
    3 A Short Test
    
    To see if mod_geoip is working correctly, we can create a small PHP file in one of our web spaces (e.g. /var/www/html):
    
    vi /var/www/html/geoiptest.php<?php
    print_r($_SERVER);
    ?>
    Thanks sub but lol, i'm not too tight with that yet. I wish you can gimme a base tip like where to start.

    Thanks again

    Leave a comment:


  • subzero
    replied
    Originally posted by youngbobby View Post
    How can that be done?
    Code:
    yum install mod_geoip
    
    You will then find the GeoIP database (GeoIP.dat) in the /usr/share/GeoIP directory. As the geographic allocation of IP addresses can change over time, it's a good idea to download the newest GeoIP.dat now:
    
    cd /usr/share/GeoIP/
    mv GeoIP.dat GeoIP.dat_orig
    wget http://www.maxmind.com/download/geoip/database/GeoIP.dat.gz
    gunzip GeoIP.dat.gz
    
    Next we restart Apache:
    
    /etc/init.d/httpd restart
    
    That's it already!
    
     
    3 A Short Test
    
    To see if mod_geoip is working correctly, we can create a small PHP file in one of our web spaces (e.g. /var/www/html):
    
    vi /var/www/html/geoiptest.php<?php
    print_r($_SERVER);
    ?>

    Leave a comment:


  • youngbobby
    replied
    Originally posted by GumSlone View Post
    the best and the easiest thing is to install mod_geoip at your server.
    How can that be done?

    Leave a comment:


  • thunderwap
    replied
    thanks.

    i do not whats wrong in downloading any script or this script u given.

    i am not able to download any files from here from some days ago.

    keep showing me error "the archieve is either unknown format or damaged"

    i tried from cyber also and it not working at home and in cyber.

    Leave a comment:


  • slash20009
    replied
    thankz friend....

    Leave a comment:


  • GumSlone
    replied
    the best and the easiest thing is to install mod_geoip at your server.

    Leave a comment:


  • morency
    replied
    why you dont use APIs ??
    IP Address Geolocation to Identify Website Visitor's Geographical Location
    WIPmania - WorldIP free geolocation database, service and tools - main page
    Free Real-Time Visitor IP Geo Location API | IPLocationTools.com
    etc etc

    Leave a comment:


  • Malka1
    replied
    WOW my notepad ++ explodes when open this :D

    BTW good share

    Leave a comment:


  • khan
    replied
    nice share.... thank u

    Leave a comment:


  • firemax
    replied
    Pls add ISP to the database

    Leave a comment:


  • WhiteWarrior
    started a topic IP to Country Database UPDATED!

    IP to Country Database UPDATED!

    Updated: Database is Over 99.5% Country's Listed.

    just unzip and import to server (phpmyadmin normally)

    If you decide to update it (if you can find anymore that i aint listed) please upload here and SHARE :D

    Will soon upload my ip to county including city's, timezones, zip codes, States, Latitude, Longitude, flags etc.. once its 99.5% finished
    Attached Files
Working...
X