You are here: Re: simple setup for allowing visitors to choose their country « All PHP « IT news, forums, messages
Re: simple setup for allowing visitors to choose their country

Posted by Miguel Cruz on 10/25/05 23:24

www.1-script.com <info_at_1-script_dot_com@foo.com> wrote:
> I think the right way to do that would be using the GeoIP PHP API:
>
> http://www.maxmind.com/app/php
>
> This way you don't have to ask, just give them the custom layout based on
> their IP Address. Not without its limitations, but think about
> human-induced error factor: it is highly unlikely that you will get an
> honest answer from a visitor coming from Russia, India, China or any other
> place that online retailers don't like much. They know for the fact that
> they will be treated badly and maybe even denied access to the site, so
> why bother answering this question honestly? It's so easy to just pick
> U.S.A. from the list you've provided.

One thing that really annoys me about Google is that when I use it from
another country, it redirects me to the "local" version and presents itself
in a language that more often than not, I can't understand. Then I have to
go in and set the language preferences for google.com.th or whatever - it
neither picks up on the setting I have for google.com, nor presents a
language option right on the main page.

Making bold yet inflexible guesses about people's preferences is quite often
a bad idea. It would be fine to present a recommended country selection, but
to insist on one based on IP address seems like a poor option.

Not to mention, of course, the unreliability of the practice in the first
place. If you look at the headers of my post you might think I'm in
Washington, DC, but I'm actually in Kuala Lumpur, some 10000 miles away.
There are proxy servers, corporate networks and VPNs, and all sorts of other
confounding factors.

miguel
--
Hit The Road! Photos from 38 countries on 5 continents: http://travel.u.nu
Latest photos: Burma; Hong Kong; Macau; Amsterdam; Grand Canyon; Amman

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация