Community discussion forum

Extracting the Country from the IP Address:- How To?

This is a comment thread discussing Extracting the Country from the IP Address:- How To?
  • 10 years ago

    This thread is for discussions of Extracting the Country from the IP Address:- How To?.

  • 4 years ago

    If your wondering why "strIP = Request.ServerVariables("HTTPREMOTEADDR")" returns no IP address change it too "strIP = request.servervariables("REMOTE_ADDR")" and this will now work !

  • 4 years ago

    How to download the MS Access database?

  • 3 years ago

    Hi,

    First i woud like to thank you fom the bottom of my heart, on this wounderful, well orginized article, it really helped me a lot, i have been looking for a one like this for a long time

    THANX A LOT

    btw, i guese you have forgotten about the database anyway,
    i'll do u simple favor for you and others as little return for this article

    the link for the latest CSV Values

    http://ip-to-country.webhosting.info/downloads/ip-to-country.csv.zip

     

    Once again, Thanx a lot

     

    Best Regards

  • 3 years ago

    Thanks a lot.Smiley Face [:)]Crying [:'(]

  • 2 years ago

    Hi Guys,

    Though this is a brilliant piece of code, can u guys please explain that what are the datatypes used in the function ipAd2ipNum and also it gives me an error if i use the datatypes like integer, int32, int64...Please reply asap Rohit Smiley Face [:)]

  • 2 years ago

    I hope that this article can be used for you

    http://www.treaple.com/ArticlesDetails.aspx?id=55

    cheer.

  • 2 years ago

    First of all,you should get a database which includes all countries IP details.

    and then convert IP address to decimal   to find the exact country name by the decimal   .

  • 2 years ago

    I just wrote a lasted sample which describes how to get countries and city from IP address and  the sample contains a IP database.If you want to get the sample code,Please visite http://www.treaple.com/bbs/index.php or http://www.treaple.com/bbs/thread-17-1-1.html

  • 2 months ago

    thanks a lot...it would me more useful if you post it in VB.NET..or C# ..thanks in advance

  • 3 days ago

    You can check Country, City, ZIP, Longitude and Latitude in C# and visual basic (VB.NET). There is source code for .NET GeoIP: http://tools.webmastermafia.com

    You can use it for FREE. It is very easy, just 2 lines of code.

  • 2 days ago

    Thanks for the comment..i really like this..

    Get your Term papers done - FlashPapers.com

Post a reply

Enter your message below

Sign in or Join us (it's free).

We'd love to hear what you think! Submit ideas or give us feedback