mirror of
https://gitlab.com/harald.mueller/aktuelle.kurse.git
synced 2024-11-24 10:41:56 +01:00
16 lines
302 B
PHP
16 lines
302 B
PHP
<?php
|
|
setcookie("Programmiersprache", "PHP",
|
|
time() + 60*60*12, "/");
|
|
setcookie("Sprachversion", "7",
|
|
mktime(0, 0, 0, 12, 24, 2016), "/");
|
|
setcookie("Session", "abc123", null, "/");
|
|
?>
|
|
<html>
|
|
<head>
|
|
<title>Cookies</title>
|
|
</head>
|
|
<body>
|
|
<p>Cookies wurden gesetzt!</p>
|
|
</body>
|
|
</html>
|