Search code examples
programming-languages

Is it possible to know the location from which the internet is used


I am developing a website and i need to know learn the location of visiting user(PC and mobile), i.e the user city.

Also tell me preferable technology and framework for developing a fast dynamic website like Digg. Actually, as far as my understanding goes, the asp.net websites are a bit slower than PHP/Javascript. May be i am wrong, but visiting Microsoft's website, seem to give this impression.

Thanks All !!


Solution

  • You could use HTML 5's geoLocation API, or use the user's IP address and try to find it's location - Google offers such a service