Hi,
?inhalt=foo
switch ($inhalt) {
case "Home":
include("includes/home.inc");
break 1;
case "foo":
include("includes/foo.inc");
break 1;
default:
include("includes/home.inc");
break 1; }
case "Home":
include("includes/home.inc");
break 1;
case "foo":
include("includes/foo.inc");
break 1;
default:
header("location: http://" . $_SERVER["SERVER_NAME"] . "/error/404.html");
header("HTTP/1.0 404 Not Found");
exit;
Vorraussetzung: Du hast noch nix anderes rausgeschickt...
Gruesse, Joachim
Am Ende wird alles gut.