Forum Moderators: coopster
} else {
// Otherwise, redirect them to ENG site
header("Location: http://www.example.com/change_language.php?lang=eng");
}
This piece of code is working just fine in IE but not in Firefox, not able to figure out the problem. Could any one help please?
Thanks
[edited by: encyclo at 5:37 pm (utc) on Jan. 27, 2006]
[edit reason] switched to example.com [/edit]
Thank for your replies.
<< How are you determining the value of $country? >>
$coutry is coming from db, depending on the IP address..
Redirection is happening in firefox but the concerned page is not opening.
I tried surfing for firefox bugs but invain.
If you need complete code, I can provide...
if ($country == "DE")
{
header("Location: http://www.example.com/change_language.php?lang=de");
[b]exit;[/b]
} else {
// Otherwise, redirect them to ENG site
header("Location: http://www.example.com/change_language.php?lang=eng");
[b]exit;[/b]
}