We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

How to detect ip region (state,

Ghostspirit
Ghostspirit asked
on
Medium Priority
939 Views
Last Modified: 2013-12-13

Hello, is it possible to detect the ip "State" without paying for the service.
With the company below, they will able to help me to detect the ip address, but I can't afford their price, just too expensive, I'm trying to figure out to get the php script or any other script which allow me to detect the ip infos.
 
http://www.maxmind.com/app/locate_my_ip
Comment
Watch Question

Perhaps this is what you need.
http://www.hostip.info/

Author

Commented:
their info is not so accurate

i wonder where did they get the ip infos?
CERTIFIED EXPERT

Commented:
i don't see anything free for this, you can try this...

http://www.ip2location.com/free.asp
They get the info from site users. I think there is no other way to collect such information and let it be downloaded for free.
This is a free csv file that contains a list of IPs in a csv format http://ip-to-country.webhosting.info/book/print/5 and is up to date. There is example code on that page in php to use the csv file to detect the country along with the download link.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
well, i guess this is not easy to abtain the ip info from the isp or ip organization.

Author

Commented:
Rewrite -
Well, i guess this is not easy to obtain the ip info from the isp or ip organization.
Of course it is not. Providers can route IP as they like inside their network, so most IP collecting organizations collect addresses based on experts or customers input. It takes time and effort - that's why the databases are not free.
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.