Follow along with the video below to see how to install our site as a web app on your home screen.
Anmerkung: This feature may not be available in some browsers.
Zitat:
Original von ba2 (bearbeitet)
<?php
if (!isset($seite)) $seite="inhalt.php";
if (!file_exists($seite))
{
$seite="fehler.php";
}
?>
Ist das als schutz ausreichend?
Hm. Es wird wohl keiner eine Datei laden wollen, die es nicht gibt
Mach es (wie Battlemaker schon angemerkt hat) mit basename oder (noich besser) mit einem Array.