Forum Moderators: open
I want to find out the location of my website visitors.
I know that there are various ways of doing this (e.g IP to geography look up) but I wonder whether anyone can help me with this avenue. I want to, from my website, actually look to see the Configurable Location or Geographic ID of visitor's windows operating system.
This Location or Geographic ID setting is in the Configurable Language and Cultural Settings, in the control panel of the Windows operating system.
Location or Geographic ID
Geographic ID - Defines the country or location where the user resides.
[microsoft.com...]
"This variable is available in Windows XP (and was also available in Microsoft Windows Millennium Edition [Windows Me] though not in Windows 2000) to define the country or location where the user lives. Each user can change this variable on the fly by selecting changes from the Regional Options tab of the Regional And Language Options property sheet. Any changes made are also applied on the fly. By selecting a particular location, the user has set a variable that a Web service(such as one that deals with weather) can check, thus allowing the Web service to deliver information and services specific to the region or country the user has selected."
Microsoft do seem to have some code on the website for detecting location:
[msdn.microsoft.com...]
But not sure what language this is or how it can be used. Can it be used by a website?
I have posted in this forum because I suspect that the way (and perhaps the only way) to gain access to this information from a website is to deploy .net on the web server. Am I on the right track? Would be better for me if I can use PHP.
Would be really great if someone could help out. Many thanks.
P.S For people who may be interested to see more information on the Configurable Language and Cultural Settings of Windows operating systems:
[microsoft.com...]