Alsooo ich leite per Header Funktion auf eine andere Seite das prob besteht darin das er das nicht tut...
Hier mal die funktion dafür:
Code
function redirect($location,$reason=false){
global $session,$REQUEST_URI;
if ($location!="badnav.php"){
$session[allowednavs]=array();
addnav("",$location);
}
if (strpos($location,"badnav.php")===false) $session[output]="<a href=\"".HTMLEntities($location)."\">Hier klicken</a>";
$session['debug'].="Redirected to $location from $REQUEST_URI. $reason\n";
saveuser();
@header("Location: $location");
echo $location;
echo $session['debug'];
exit();
}
Alles anzeigen