Visa ett inlägg
Oläst 2007-09-27, 14:32 #2
gsocs avatar
gsoc gsoc är inte uppkopplad
Mycket flitig postare
 
Reg.datum: Jun 2007
Inlägg: 568
gsoc gsoc är inte uppkopplad
Mycket flitig postare
gsocs avatar
 
Reg.datum: Jun 2007
Inlägg: 568
Enklast är väll att göra så här ungefär:


Kod:
if($_SERVER["HTTP_ACCEPT_LANGUAGE"]="sv") {
echo "Svenska, visa hemsida";
}else{
header("Location: http://site.se/utländsksida");
}
Felsäkert som attans...
gsoc är inte uppkopplad   Svara med citatSvara med citat