Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- ?>
- <!DOCTYPE html>
- <html lang="pl-PL">
- <head>
- <meta charset="UTF-8">
- <title>ciasteczka</title>
- <link rel="stylesheet" href="styles/style.css"/>
- <link rel="stylesheet" href="styles/dziekujemy.css"/>
- </head>
- <body>
- <nav id="menu">
- <a href="index.php">Strona główna</a>
- <a href="rejestracja.php"><mark>Rejestracja</mark></a>
- <a href="mojeKonto.php">Moje konto</a>
- <a href="logowanie.php">Logowanie</a>
- <a href="readCookies.php">Ciasteczka</a>
- <a href="wylogowanie.php">Wyloguj</a>
- <div id="google-search-menu">
- <form action="index.php">
- Szukaj w Google: <input type="search"> <input type="submit" value="szukaj">
- </form>
- </div>
- </nav>
- <div id="content">
- <?php
- session_start();
- print("<p> Wartości z _SESSION </p>");
- foreach ($_SESSION As $KEY=>$value) {
- print("<p> $KEY: $value</p>");
- $_COOKIE[$KEY]=$value;
- }
- echo nl2br ("\n") ;
- print("<p>Wszystkie ciasteczka</p>");
- foreach ($_COOKIE As $KEY=>$value){
- print("<p> $KEY: $value</p>");
- }
- ?>
- </div>
- <div id="footer">
- <footer>
- <p>
- Widzisz błąd na naszej stronie? Skontakuj sie z nami poprzez email <a href="mailto:randomowy@gmail.com">randomowyemail@gmail.com</a>
- </p>
- </footer>
- <details>
- <summary>Wszelkie prawa zastrzeżone</summary>
- <p> © 2018 Jakub Urbanek & Cezar Ciepielewski</p>
- </details>
- </div>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement