aktuelle.kurse/oldies/m133/Modul_Unterlagen_133_VOR/01-Modulinhalte/08 Session Sicherheit/Cookies Sessions (Wal)/PHP7/16 - sessions/lesen-db.php

26 lines
470 B
PHP
Raw Normal View History

2022-02-23 22:44:33 +01:00
<?php
require_once "sessions.inc.php";
?>
<html>
<head>
<title>Sessions</title>
</head>
<body>
<p>Programmiersprache:
<?php
if (isset($_SESSION["Programmiersprache"])) {
echo(htmlspecialchars($_SESSION["Programmiersprache"]));
}
?>
</p>
<p>Sprachversion:
<?php
if (isset($_SESSION["Sprachversion"])) {
echo(htmlspecialchars($_SESSION["Sprachversion"]));
}
?>
</p>
<p><a href="<?php echo($_SERVER["PHP_SELF"]); ?>">Neu laden</a></p>
</body>
</html>