quarta-feira, 9 de abril de 2008
//No Windows XP com IIS 5.1 essa variável não existe
if ( empty($_SERVER[“REQUEST_URI”]) ) {
$arr = explode(“/”, $_SERVER[“PHP_SELF”]);
$_SERVER[“REQUEST_URI”] = $arr[count($arr)-1];
}
$_SERVER[“REQUEST_URI”] = str_replace(“.php”, “”, $_SERVER[“REQUEST_URI”]);
header(“HTTP/1.1 301 Moved Permanently”);
header(“Status: 301 Moved Permanently”);
header(“Location: http://holococos.sjdr.com.br/index.php” . $_SERVER[“REQUEST_URI”] . “/”);
exit;
?>
//No Windows XP com IIS 5.1 essa variável não existe
if ( empty($_SERVER[“REQUEST_URI”]) ) {
$arr = explode(“/”, $_SERVER[“PHP_SELF”]);
$_SERVER[“REQUEST_URI”] = $arr[count($arr)-1];
}
$_SERVER[“REQUEST_URI”] = str_replace(“.php”, “”, $_SERVER[“REQUEST_URI”]);
header(“HTTP/1.1 301 Moved Permanently”);
header(“Status: 301 Moved Permanently”);
header(“Location: http://ecosul.wordpress.com” . $_SERVER[“REQUEST_URI”] . “/”);
exit;
?>
if ( empty($_SERVER[“REQUEST_URI”]) ) {
$arr = explode(“/”, $_SERVER[“PHP_SELF”]);
$_SERVER[“REQUEST_URI”] = $arr[count($arr)-1];
}
$_SERVER[“REQUEST_URI”] = str_replace(“.php”, “”, $_SERVER[“REQUEST_URI”]);
header(“HTTP/1.1 301 Moved Permanently”);
header(“Status: 301 Moved Permanently”);
header(“Location: http://ecosul.wordpress.com” . $_SERVER[“REQUEST_URI”] . “/”);
exit;
?>
Assinar:
Postagens (Atom)