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


How to detect ip region (state,

Ghostspirit asked
Medium Priority
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.
Watch Question

Perhaps this is what you need.


their info is not so accurate

i wonder where did they get the ip infos?

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

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


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


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.


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.