$url="";
$e[]=array("A","B", "C","d");
$e[]=array("http://www.spetsesyc.gr", "spetsesgreekisland.eu");
/////////////////////////////////////////////////////////////////////////////
$i=0;
$thedomain=$HTTP_HOST;
$thedomain=strtolower($thedomain);
foreach ($e as $value) {
foreach ($value as $v2) {
$v3="www.".$v2;
if (($thedomain==$v2) || ($thedomain==$v3))
{
$url=$e[$i][0];
}
}
$i++;
}
///////////////
///////////////
if ($url)
{
header("Location:$url");
exit;
}
?>
iSOL Internet Solutions Ltd. - Web Hosting, Web Development, Domain Name Registration, e-commerce
echo sprintf("%s",$HTTP_HOST);
?>
 |
| �2001-7
iSOL Internet Solutions �.�.� |
 |