For a while now , i have been pondering how this could be done and if the results would be any use. What i am talking about is getting the users Latitude / Longitute & IP address that is running the survey. Now the first thing to mention is that it would not realy be their IP address, but the IP address or location of the machine that is used to connect to the internet. Anyway this is the code i came up with and i am sure it will be of use.
Another thing to mention is that if you are trying to run this on an intranet then it would not give you the results you wanted. It should be possible to design something similar and we may leave that for another article.