Solved

How to detect ip region (state,

Posted on 2006-10-27
10
914 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

867 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now