Hello,
Got from Mustafa (thanks for that) the following code to redirect somebody keeping the data behind the index.php, but got an error:
Code:
<?
$lang=getenv("http_accept_language");
switch($lang)
{
case "us":$dir="us";
}
header("location:./$dir/index.php?banner=$banner");
?>
Error:
Warning: Cannot add header information - headers already sent by (output started
Somebody got an idea how to solve this problem? Please with example.
Many thnaks.
Rob