View Full Version : How to get IP Location?
09-02-2006, 12:03 AM
hey Guys I am new to the board, but I will give this a shot.
I am working on an invoice system and I want to be able to do is list the IP and its location
Example I know using the:
gives me the IP address. Is there a way to drill down further.
Example down to the country and city?
I have seen it done on a few order forms when placing orders I want to know how I can drill down on this as well.
09-08-2006, 02:32 PM
Think there's something on w3 schools, see this example:
While doing some Google Map research also found this cool tool.
No good to you but interesting all the same :O)
09-12-2006, 04:07 PM
One solution is to use JS:
In this example I wanted just the url and not the actual asp file name
Steven V.S. Cat
02-05-2007, 07:57 AM
Are you plan to build a system link this ?
You first need a database contain a mapping between IP and location. You can find this kind of database from some warez homepage
02-05-2007, 09:35 PM
Well, there's some related info on this using PHP here--
Using the same data and method, you could convert to ASP and go from there. (Or just switch to PHP and use the script supplied there if you'd prefer.)
Note: it's a fairly long discussion... starts being helpful mid-page-2.)
02-06-2007, 08:59 AM
I think using something like this one (http://www.ip2country.net/ip2country/ip_country.html) will solve your problem completely.
02-07-2007, 07:16 PM
I'm guessing that's similar to the solution used in the thread I linked to-- http://www.maxmind.com/app/geoip_country
Probably worth looking into. However... the link isn't loading for me.
EDIT: Now it loads, but looks like it costs $50. The one linked to above also is $50, I believe, but there is a free 'limited' version to use, which seems like it would probably do just fine.
The industry standard is MaxMind GeoIP (http://www.maxmind.com/app/php).
07-08-2009, 12:58 PM
U get the IP location of an IP address by using http://www.ip-details.com/ip-search/.
01-18-2010, 03:31 AM
You can check out the open source APIs and source codes for different programming languages from http://www.ip2location.com/developers.aspx
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.