IP to Country?
Does anyone know of a simple way to retrieve the country for a given IP Address? Preferably in ISO_3166-1 format?...
Does anyone know of a simple way to retrieve the country for a given IP Address? Preferably in ISO_3166-1 format?...
have anyone used this before, i need free country, city, IP database for sqlserver ...
Hello! For a website we're about to implement automatic country/language selection, but still giving the user the choice to change it. First of all, if the user enters the website using a domain with a country-level TLD they will be presented the correct language by default. But the question is what should the logic be if they come fro...
Hi everyone, Lately we've started getting issues with outdated countries / regions list being presented to users of our web-application. We currently have a few DB tables to store localized country names along with their regions (states). However as the planet goes, that list is in constant evolution and it's proving to be a pain to...
I have this PHP code that I use to make a dropdown form selection of country's I would like to eliminate this extra mysql query though and just store the output like in code to on the page However I am lost on how I would have the users country SELECTED If I do not use the query to get the data Please advice <select name="country" styl...
Hello In english, the variables foo and bar are very often used for simple examples, or for anonymous variables (see these three posts for more on these metasyntactic variables (1), (2), (3)) Usually, I often use titi, toto and huhu and it seems that I am not the only french guy to use them. So, they should be different in german, spa...
I am working on a jquery code that has a form country dropdown list USA state dropdown list non-usa state text input box The goal is to have a country dropdown, If a user selects USA then it will show the USA state list and hide the other state text input. If a user selects a country other then the USA then it should HIDE the U...
Hi everybody, I'm trying to get a TimeZone for a user. For this I have a country code which is a valid ISO Country Code. These codes are the upper-case, two-letter codes as defined by ISO-3166. You can find a full list of these codes at a number of sites, such as: http://www.chemie.fu-berlin.de/diverse/doc/ISO%5F3166.html I think th...
Hello guys, I'm planning to create a cascading dropdown list of Country--> State/Province--->Zip code using geonames. Do you have any good web service or examples? Your reply is greatly appreciated, Best ...
Is there any document that's accurate about this? ...
In my model I have a field: country = models.CharField(_('Country'), max_length=2, choices=COUNTRIES) Where COUNTRIES is a tuple of tuples like this: COUNTRIES = ( ('AF', _('Afghanistan')), ... and so on Now I want to filter an instance of that model, by the country name. This: i = MyModel.objects.filter(country__iexac...
Hi everyone, Can someone tell me how to set language of a web page on the knowledge of IP address of visitor so that he automatically gets page in his country's language. Of course if that language is implemented by web developer. Even better I sow some examples of automatic Google translation of the text. So how to achieve that visit...
I want to get current country code for oldest Windows systems. I was using GetLocaleInfo() with LOCALE_ICOUNTRY flag, but then I've realized it returns wrong results (the same values for different countries), so I've tried LOCALE_SISO3166CTRYNAME which returns country code in ISO3166 standard 2 letters code (eg. 'US') http://www.iso.or...
Hi, I'm building the registration part of a mobile site and I need to retrieve the country name from the country code of a mobile phone number (eg. +1 corresponds to United States). Is there any publicly available code/database that will have this info. Ive tried searching but all I come up with is the conversion of country prefixes ...
I need to show different links for US and non-US visitors to my site. This is for convenience only, so I am not looking for a super-high degree of accuracy, and security or spoofing are not a concern. I know there are geotargeting services and lists, but this seems like overkill since I only need to determine (roughly) if the person is...
My main purpose is to show different page to different country(language) people. I think it should be based on the user region/country, which I guess can fetch out from ip address? example: *For EN country people, they would see this. www.example.com *For Japanese, they would dispatch to this. www.example.com/jp Also I saw some people...
I need to get list of valid countries for web application, is there any list that could be downloaded as XML or similar format, so that I could atomatically update country list? ...
Hi, My client has customers in 100 countries in which a customer can have access to more than a country. So, to show visual appearance to the customer, our client want to show world map and fill each country with a different color where the customer has access to. Is there anyway to do this in ASP.NET? If not ASP.NET, Is their any thi...
Hi, I'm creating a URL Shortening website. I want to allow users to view the stats for the links. I planned to do Country stats. I think I should use a library similar to GeoIP for PHP to get the country, but, how can be the MySQL. My weakness is the design of the MySQL tables. Can you recommend me a table format, please? ...
Visitors from either of 3 countries - New Zealand, Fiji or India - need a different content page respectively. The site is written in PHP, the content is in HTML files ready to be included.... I'm a newb; please be patient!! ...