Hello,
Can somebody help me with the following:
Would like to automaticaly send visitors to directories, based on their language, BUT would like to keep the data behind the index.php.
For example:
index.php?banner=1
Tried something like following, but that didn't work.
<?php
$browser = explode(",", $HTTP_ACCEPT_LANGUAGE);
switch($browser[0])
{
case 'us':
include("us/index.php.php?banner=<?=$banner?>");
break;
?>
Please respond with code example, because knowledge of php is not very high.
Many thanks in advance.
Greetings
Rob