Forum Moderators: phranque

Message Too Old, No Replies

Delivering different content by country

Is there one line of code that could do it?

         

Receptional

11:24 am on Apr 15, 2003 (gmt 0)



I need to deliver a different page to UK users than to other users...

I am sure there is an easy way to do it... preferably in ASP, java or some other thing that simple marketing people can drop into a Front page web. I'll settle for perl if someone can really help me with the syntanx. I think I have perl on this server somewhere...

Does not need to be totally fool proof - was thinking of checking someone's browser settings - is there a country code in there somewhere?

Dixon.

paladin

3:12 pm on Apr 15, 2003 (gmt 0)

10+ Year Member



I don't remember exactly where, but there is a free script that you can download that check the location using the client's IP adress.

I think is was named "IP2Location"

You just put the script into your ASP page

Alon

Receptional

10:44 am on May 2, 2003 (gmt 0)



Many thanks for this. Sorry for the delay in replying. It looks ideal.

Dixon.

grahamstewart

1:57 pm on May 2, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Apache can use their browser settings to automatically deliver content based on the languages that they understand.
Not quite the same thing I know - but useful nonetheless.

See [httpd.apache.org...]