IP to Country Database UPDATED!
Collapse
X
-
Thanks sub but lol, i'm not too tight with that yet. I wish you can gimme a base tip like where to start.Originally posted by subzero View PostCode: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 again
Leave a comment:
-
Originally posted by youngbobby View PostHow 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:
-
How can that be done?Originally posted by GumSlone View Postthe best and the easiest thing is to install mod_geoip at your server.
Leave a comment:
-
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:
-
the best and the easiest thing is to install mod_geoip at your server.
Leave a comment:
-
-
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% finishedAttached FilesTags: None
Leave a comment: