Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Empfohlene Antworten

Veröffentlicht

Hi, welchen Fehler mache ich bei meiner Index.php:

<html>
<head>

<meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
<title>Meine Website</title>


</head>


<body>

<php
include "header.html";
switch ($_GET['seite'])
{
case 'index':
include('index.html');
break;
case 'filemanager':
include('filemanager.html');
break;
}
include "menu.html";
include "footer.html";
?>


</body>
</html>
[/PHP]

Irgendwie funktioniert da nix, ich will so auf meine seiten verlinken:

.../index.php&seite=filemanager

als Beispiel, bloß passiert einfach nix :(

Danke für Hilfe

Ok, also ich will, dass die index.php meine Webseite anzaigt. Diese besteht aus mehreren Teilen (Header, Main, Footer z.B.) die in der index.php includiert werden soll. Außerdem soll es möglich sein, anstatt der Mainseite andere Seiten zu Includieren (Filemanager/Impressum z.B.).

Daher soll durch den Aufruf: http:\\...\index.php&seite=filemanager z.B. der Filemanager includiert werden (also man gelangt zu "dieser" Seite)

Das Problem, dass ich habe, ist, dass irgendwas im Script nicht stimmt, weil wenn ich die index.php aufrufe überhauptnix angezeigt wird (alles weiß).

Bitte um Hilfe

edit: ok hat sich erdledigt, habe lediglich anstatt <?php nur <php geschrieben^^

Bearbeitet von bec53167

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.