Solved

How to detect ip region (state,

Posted on 2006-10-27
10
918 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
0
Comment
Question by:Ghostspirit
10 Comments
 
LVL 9

Expert Comment

by:techtonik
ID: 17825945
Perhaps this is what you need.
http://www.hostip.info/
0
 

Author Comment

by:Ghostspirit
ID: 17827329
their info is not so accurate

i wonder where did they get the ip infos?
0
 
LVL 12

Expert Comment

by:str_kani
ID: 17829533
i don't see anything free for this, you can try this...

http://www.ip2location.com/free.asp
0
Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 9

Expert Comment

by:techtonik
ID: 17836537
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.
0
 
LVL 1

Accepted Solution

by:
cheetahshrk earned 50 total points
ID: 17854900
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.
0
 

Author Comment

by:Ghostspirit
ID: 17895765
well, i guess this is not easy to abtain the ip info from the isp or ip organization.
0
 

Author Comment

by:Ghostspirit
ID: 17895780
Rewrite -
Well, i guess this is not easy to obtain the ip info from the isp or ip organization.
0
 
LVL 9

Assisted Solution

by:techtonik
techtonik earned 50 total points
ID: 17920644
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.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question