Hallo,
Eigendlich meine ich es so:
Alle includeten Dateien haben einen konstanten Titel, auser Profil.php.
Ich hab die Datei jetzt so geändert:
<html>
//....
switch($_GET["action"])
{
case 'mail':include('Mail/index.php');
break;
case 'profil.view':include('profil.php');
break;
case 'profil.edit': include('Profil_bearbeiten.php');
break;
case 'logout': include('logout.php');
break;
case 'photo.upload': include('upload.php');
break;
case '':case 'home': include('Home.inc');
break;
default:echo('Ungültige Action '.$_GET['action']);
include('auth.php');
}
?>
</html>
So kann jede Datei den Titel selbst bestimmen.
MfG
tomg