View Single Post
Old 10-09-2004, 03:02 PM   #2 (permalink)
Ricoool
Inactive
 
Ricoool's Avatar
 
Join Date: 10-13-03
Location: wonderfull Copenhagen, DK
Posts: 1,256
iTrader: 0 / 0%
Latest Blog:

[CaRP] Failed to open file: Don't blog

Ricoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to beholdRicoool is a splendid one to behold
Send a message via Skype™ to Ricoool
not sure if this works

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> </head> <body> <% language = Request.ServerVariables("HTTP_ACCEPT_LANGUAGE") If language = "da" Then %> <!--#include virtual = "/da.shtml"--> <% ElseIf language = "it" Then %> <!--#include virtual = "/it.shtml"--> <% Else %> <!--#include virtual = "/en.shtml"--> <% End If %> </body> </html>
ASP and SSI, should present "dansk" if system is danish "italian" if system is italian and english for the rest, dont know if it works with all browsers, otherwise you need a service that will tell you what contry an IP is assigned to ??
test http://www.cybernation.dk/lingo.asp.
Ricoool is offline   Reply With Quote