473,387 Members | 1,650 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

country of origin of a given IP

Mel
i know its not an exact science but...

is there a way to guestimate the country from IP address ?

thanks
Jul 23 '05 #1
6 1721
Mel wrote on 18 apr 2005 in comp.lang.javascript:
i know its not an exact science but...

is there a way to guestimate the country from IP address ?


USA, 50% right ?

--
Evertjan.
The Netherlands.
(Replace all crosses with dots in my emailaddress)

Jul 23 '05 #2
On 18/04/2005 18:36, Mel wrote:
i know its not an exact science but...

is there a way to guestimate the country from IP address ?


You can use a IP-to-country database. No names spring to mind at the
moment, but they do exist.

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #3
"Mel" <me**********@hp.com> wrote in message
news:42********@usenet01.boi.hp.com...
i know its not an exact science but...

is there a way to guestimate the country from IP address ?


Possibly, but what are you going to do with that information?

For example, I may be viewing your Web site from a computer with an IP
address in Germany, but it does not mean I want the language on your Web
site to appear in German.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #4
Mel
i would like to disallow certain countries where my company information
maybe restricted
"Grant Wagner" <gw*****@agricoreunited.com> wrote in message
news:gG****************@news2.mts.net...
"Mel" <me**********@hp.com> wrote in message
news:42********@usenet01.boi.hp.com...
i know its not an exact science but...

is there a way to guestimate the country from IP address ?


Possibly, but what are you going to do with that information?

For example, I may be viewing your Web site from a computer with an IP
address in Germany, but it does not mean I want the language on your Web
site to appear in German.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq

Jul 23 '05 #5
In article <42********@usenet01.boi.hp.com>, me**********@hp.com says...
i know its not an exact science but...

is there a way to guestimate the country from IP address ?


http://www.phpclasses.org/browse/package/1477.html
Jul 23 '05 #6
"Mel" <me**********@hp.com> wrote in message
news:42********@usenet01.boi.hp.com...
"Grant Wagner" <gw*****@agricoreunited.com> wrote in message
news:gG****************@news2.mts.net...
"Mel" <me**********@hp.com> wrote in message
news:42********@usenet01.boi.hp.com...
>i know its not an exact science but...
>
> is there a way to guestimate the country from IP address ?


Possibly, but what are you going to do with that information?

For example, I may be viewing your Web site from a computer with an
IP
address in Germany, but it does not mean I want the language on your
Web
site to appear in German.


i would like to disallow certain countries where my company information
maybe restricted


I suppose doing what you propose would be an attempt to show "due
diligence" at preventing people in countries where your content is
restricted from seeing that content, but it certainly won't stop someone
in a country where your information is restricted from seeing the
content of your Web site.

A user could use a proxy server in the US to view your Web page from
China. A user in the UK could save a copy of your Web site and e-mail it
to a user in Israel.

Once content is made available on the public Internet, it's distribution
can not be restricted.

--
Grant Wagner <gw*****@agricoreunited.com>
comp.lang.javascript FAQ - http://jibbering.com/faq
Jul 23 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: abracad | last post by:
Hi Is there any (preferably free) PHP script that will identify the country of a visitor, thus allowing one page to be delivered to those from A, B and C, and another to those from X, Y and Z? ...
10
by: Amardeep Verma | last post by:
Hi, I would like to determine the Country and Organization from a given IP. I have to write a JSP, which when given the IP address gives the country and the organization to which the IP belongs....
8
by: Mettá | last post by:
Hi I am trying to set page content to reflect where the user may come from. Is there a fairly simple way to tell where web page requests are coming from? (Site is on a Win2003 server) i.e....
1
by: charles | last post by:
when i read the notable book of inside the c++ bject model ,i was confused by the chapter 3.3. i was confused by the statement as follow: chaper 3.3: Given the following pair of program...
0
by: ArunPrakash | last post by:
Hi All, I have a requirement where I need to find which country or region the request for my web page( aspx ) comes from. Is there any way of doing this. I think google already does this( I am...
7
by: Antoni Massó Mola | last post by:
Hi, I need to detect from which Country (City would be great) the user is connecting. Is there any free script for doing this in C#? Thanks
10
by: Nospam | last post by:
I have a few javascripts. I would like to show a certain script based on the country ip of the viewer, how would I achieve this? is there html I could use to run the javascript based on the...
13
by: bushi | last post by:
hi everyone! i want to get the ipaddress,and the country name of a webpage visitor,using asp.Net(C#).if anyone knows about it,plz rply me. thanx in advance.
1
by: Scott McFadden | last post by:
Using .NET, what are some good ways to determine which country a given IP the request IP address resides in? thanks scottm
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.