You could ask ARIN and RIPE for their databases ;) There is no reliable way to determine the country of a user on a web site based on ip, user locale, reverse dns, or any other technique.
Just do it like cnn.com, buy.com, bbc.co.uk, etc, do it. Pop up a window asking which country the user is from and set a cookie. -- jon mailto:[EMAIL PROTECTED] Wednesday, December 11, 2002, 9:48:53 AM, you wrote: S> Yup. Thanks. S> How do I reliably determine the country from the IP address realtime. S> I think that the tricky part. S> Is there a CF tag that will do that for me? S> Srimanta S> ----- Original Message ----- S> From: Scott Brady <[EMAIL PROTECTED]> S> To: CF-Talk <[EMAIL PROTECTED]> S> Sent: Tuesday, December 10, 2002 4:01 PM S> Subject: Re: Redirection based on IP address. >> Assuming you can reliably determine which IP addresses go with which S> country, it should be fairly easy using CGI.remote_addr (which gives you S> their IP address). >> >> Of course, what if an Australian user is on vacation in the US and wants S> to see the Australian page? >> >> I'd suggest still giving the users the option to go to other country pages S> (so the aforementioned Aussie will initially get the US page but can switch S> go the Australian pages [and keep the preference with a cookie/session S> variable]). >> >> Scott ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm