Hallo!
Aber diese Klammern sind vollkommen unnötig!
Ich empfehle dir umzusteigen auf PSPad. Habe ich auch getan und bereue es nicht!
Und wie gesagt vor dem header steht Html und da kann der header nicht funktionieren!
Aber bei dem Code dir zu helfen ist mir leider nicht möglich tut mir leid. Mir ist der Code zu wuselig!
Ich weis nicht ob das jetzt richtig ist! Aber tausche das mal!
PHP-Code:
<?php
//So steht es bei dir
$MM_restrictGoTo = 'index.php?LinkMe=denied';
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
$MM_qsChar = "?";
$MM_referrer = $_SERVER['PHP_SELF'];
if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
$MM_referrer .= "?" . $QUERY_STRING;
#$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
header("Location: $logoutGoTo");
exit;
}
//Und mache mal so
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {
$MM_qsChar = "?";
$MM_referrer = $_SERVER['PHP_SELF'];
if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0)
$MM_referrer .= "?" . $QUERY_STRING;
#$MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
header("Location: $logoutGoTo");
exit;
}
$MM_restrictGoTo = 'index.php?LinkMe=denied';
?>
mfg der Litter.