Guest Posted October 15, 2002 Share Posted October 15, 2002 I am thinking of writing a bit of code that will do a reverse DNS and based on the TLD set the currency. Has anyone seen this done / thought of this / done this? Link to comment Share on other sites More sharing options...
jon_l Posted October 16, 2002 Share Posted October 16, 2002 Aren't there some kind of flags set by the users browser / operating system that will help you tell what country they are in. I believe a number of search engines, amongst others, use this feature. I can't remember how / what and it might just be Windows specific. Jon. Link to comment Share on other sites More sharing options...
Jan0815 Posted October 16, 2002 Share Posted October 16, 2002 I am thinking of writing a bit of code that will do a reverse DNS and based on the TLD set the currency. Has anyone seen this done / thought of this / done this? The idea is dangerous. Reverse lookups can take some seconds, in extreme cases up to 30 seconds or even more. Your customers will run away if they encounter a pageload of >5 seconds. And it causes a lot of processing time and network connections on the server. And it is not needed, btw. We already have a built-in mechanism to find out about the preferred language. If you have defined the use of a default curency per language it will switch language AND currency automagically. HTH You can't have everything. That's why trains have difficulty crossing oceans, and hippos did not adapt to fly. -- from the OpenBSD mailinglist. Link to comment Share on other sites More sharing options...
Guest Posted October 16, 2002 Share Posted October 16, 2002 The language / currency relationship is thin. English is the defacto language for Internet. Take South Africa, the U.K. and the U.S.A. as examples. All 3 countries have English as an official language and each one has their own currency, that is: ZAR, GBP and USD. Do you want everyone to use ZAR then? :wink: Link to comment Share on other sites More sharing options...
Paul_C Posted October 16, 2002 Share Posted October 16, 2002 The USA doesn't officially have an official language ;) "It's a damn poor mind that can only think of one way to spell a word." -- Andrew Jackson Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.