Hello, Does anyone know if it’s possible to display specific information depending on the users’ country of origin? For example the user is surfing from US then the site says “Hi you’re in the US†And if they are surfing from the UK then “Hi you’re in the UK†And so on. Thanks for any ideas!
To be safe you would probably have to use the users IP and then look up the GeoCode (Maxmind database is free) to get the country. Regards Mark
Yes you can even narrow it down to an approximate region and even the correct town, but you wouldn't do this unless it was necessary. There is components available that will do this for you (that you can pay for) or it is possible to do it yourself by looking up the address with a WHOIS call and getting the info from the correct fields in the response. Check this post: http://revenmerchantservices.com/page/Your-own-Ip-to-location-.aspx But this is in ASP.NET/C# and I don't know how to do this with ASP Classic unfortunately, but hopefully someone else might.