DISQUS

DISQUS Hello! Newest Industry is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Newest Industry

Chronicles of a Crazy Canuck
Jump to original thread »
Author

Geographic IP database using PERL, PHP and MySQL

Started by Stephen Pierzchala · 10 months ago

Targeting Web site content to the specific visitors who view the site is a very important marketing advantage. Being able to track incoming visitors by the country that they originate from is an additional item that can assist companies in ensuring that visitors are presented with relevant content. ... Continue reading »

10 comments

  • Thanks a lot!! I really appreciate this wonder piece of knowledge. I am indebted to you for sharing it with us.

    Thanks again
    Kanquona
    http://www.wertex.org
  • Can you share a link to where the texet files can be found on ARIN's website?
  • I use these Addresses:

    ftp://ftp.arin.net/pub/stats/apnic/delegated-apnic-latest
    ftp://ftp.arin.net/pub/stats/ripencc/delegated-ripencc-latest
    ftp://ftp.arin.net/pub/stats/arin/delegated-arin-latest
    ftp://ftp.arin.net/pub/stats/lacnic/delegated-lacnic-latest
    ftp://ftp.afrinic.net/pub/stats/afrinic/delegated-afrinic-latest

    Have fun everyone!

    smp
  • help me to make, visitor ip convert to country
    santranpisak@yahoo.com
    www.spktt.com
  • When attempting to connect to the FTP sites above, I am prompted for login credentials. Anonymous login does not seem to work for me. Is the data publicly available or do I need a subscription of some sort to get the registry data from the FTP sites?

    Thanks,
    JW
  • Thank you man... That was a step by step procedure to a complete ip-tracker code!!! great work...
  • I am doing something simliar to this to generate whitelist IP-list based on country of origin. I am troubled by the fact that I have 4.751 rows in my database, which have a country code of EU. Anyone know of a way of determining what country it really is?
  • Jakob:

    From just the registrar data, you will unlikely be able to do this. However, there are a number of commercial products that may be able to assist you in narrowing these down.

    smp
  • Well yes, but the idea was to make a do-it-yourself solution using public and free information. I have all the pieces in place, except for the one "country code" that does not conform to the standard ISO 3166.
  • Unfortunately, all the data does exist, but it is in the whois data for the blocks in question. This is a manual process that I chose not to undertake due to its complexity and my lack of programming skils.

Add New Comment

Returning? Login