par
Budington » 05 oct. 2012, 15:01
bon j’essaye de faire avancer le schmilblic
est ce que :
<?php
include("site/var/analytic.inc.php");
?>
<?php if ($_SERVER["SERVER_NAME"] == 'http://www.kiki.zz'){
header("Status: 301 Moved Permanently", false, 301);
header ('Location: site/index.php');
exit();
}
else if ($_SERVER["SERVER_NAME"] == 'http://www.petit.yy'){
header("Status: 301 Moved Permanently", false, 301);
header('Location: plouf/index.php');
exit();
}
else if ($_SERVER["SERVER_NAME"] == 'http://www.grand.yy'){
header("Status: 301 Moved Permanently", false, 301);
header('Location: plouf/index.php');
exit();
}
else if ($_SERVER["SERVER_NAME"] == 'plouf.kiki.zz'){
header("Status: 301 Moved Permanently", false, 301);
header('Location: plouf/index.php');
exit();
}
?>
sa peux joué ?
bon j’essaye de faire avancer le schmilblic
est ce que :
[php]
<?php
include("site/var/analytic.inc.php");
?>
<?php if ($_SERVER["SERVER_NAME"] == 'http://www.kiki.zz'){
header("Status: 301 Moved Permanently", false, 301);
header ('Location: site/index.php');
exit();
}
else if ($_SERVER["SERVER_NAME"] == 'http://www.petit.yy'){
header("Status: 301 Moved Permanently", false, 301);
header('Location: plouf/index.php');
exit();
}
else if ($_SERVER["SERVER_NAME"] == 'http://www.grand.yy'){
header("Status: 301 Moved Permanently", false, 301);
header('Location: plouf/index.php');
exit();
}
else if ($_SERVER["SERVER_NAME"] == 'plouf.kiki.zz'){
header("Status: 301 Moved Permanently", false, 301);
header('Location: plouf/index.php');
exit();
}
?>
[/php]
sa peux joué ?