Seeking banner rotation script that does so according to country

J

Jason Brown

I can't find any javascript that displays a banner according to a
user's country. Is this not possible?

If not javascript then maybe php or ssi displayed into a page via an
iframe. Does anyone know of a free script that shows a banner
according to country?

Jason
 
T

Thomas 'PointedEars' Lahn

Jason said:
I can't find any javascript that displays a banner according to a
user's country. Is this not possible?

No, there is no reliable way to determine the country where the visitor
is located. You could make a guess using an extensive list of ISPs,
their IP address ranges and supposed areas, but with the exception of
the Gecko DOM I don't know of any UA where reading the IP address is
possible with client-side scripting. Whether this is possible with
server-side J(ava)Scripting would depend on the server API; which Web
server are you developing for?

PHP and SSI is beyond the scope of this newsgroup; if you have no
server-side J(ava)Script available (JScript with ASP, e.g.), I
suggest you post to an appropriate newsgroup or find a Web forum.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,691
Members
48,796
Latest member
Greg L.

Latest Threads

Top