Click to See Complete Forum and Search --> : determining location
hingis_rules
06-01-2004, 05:41 PM
I'm just starting out with javascript and was wondering is it possible to determine the location such as the country, the user is from via Javascript or is there another way?
Thanks for any help.
David Harrison
06-01-2004, 05:51 PM
If you could determine the user's IP address (which you can't with JavaScript) and then query a huge database such as the one that IP 2 Location (http://www.ip2location.com/) have (which you can't with JavaScript) then yes you could.
So to answer your question, no you can't do it with JavaScript. You would need server-side scripting to do this.
hingis_rules
06-01-2004, 10:01 PM
Thanks for the info.
David Harrison
06-01-2004, 11:15 PM
Happy to help. :)