mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 18:51:56 +01:00
35 lines
606 B
PHP
35 lines
606 B
PHP
|
<html>
|
||
|
<head>
|
||
|
<title>Cookies</title>
|
||
|
</head>
|
||
|
<body>
|
||
|
<table>
|
||
|
<tr><th>Name</th><th>Wert</th></tr>
|
||
|
<tr><td>Programmiersprache</td><td>
|
||
|
<?php
|
||
|
if (isset($_COOKIE["Programmiersprache"])) {
|
||
|
echo htmlspecialchars(
|
||
|
$_COOKIE["Programmiersprache"]);
|
||
|
}
|
||
|
?>
|
||
|
</td></tr>
|
||
|
<tr><td>Sprachversion</td><td>
|
||
|
<?php
|
||
|
if (isset($_COOKIE["Sprachversion"])) {
|
||
|
echo htmlspecialchars(
|
||
|
$_COOKIE["Sprachversion"]);
|
||
|
}
|
||
|
?>
|
||
|
</td></tr>
|
||
|
<tr><td>Session</td><td>
|
||
|
<?php
|
||
|
if (isset($_COOKIE["Session"])) {
|
||
|
echo htmlspecialchars(
|
||
|
$_COOKIE["Session"]);
|
||
|
}
|
||
|
?>
|
||
|
</td></tr>
|
||
|
</table>
|
||
|
</body>
|
||
|
</html>
|