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 Gordon Burditt on 10/25/05 01:52

>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.

That's great to determine a DEFAULT, but let the user override it.
People do occasionally visit other countries. People could access
the Internet via international long-distance calls. And GeoIP is
far from perfect in determining how an international company allocates
its IP addresses within its own network (information which they
may consider proprietary).

>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.

This was supposed to be a way of displaying things in the correct
currency, NOT a security measure to exclude people.

>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.

And if they like looking at prices in US dollars, that's perfectly fine.
They may not be able to spend their own country's currency outside
that country anyway, and they may end up having to pay in US dollars.

Gordon L. Burditt

 

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

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