Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- print_r($_SESSION);
- if(!is_array($_SESSION['login']))
- {
- echo "Kein Zugang!";
- die();
- }
- else{
- ?>
- <html>
- <head>
- <title></title>
- </head>
- <body>
- <link rel="stylesheet" type="text/css" href="layout.css"/>
- <center>
- <div id="outerbox">
- <div id="header"></div>
- <div id="navi">
- <a href="reg.php">Registrieren</a>
- <a href="logout.php">Logout</a>
- <br>
- <a href="logtest.php">Bin ich Eingelogt?</a>
- </div>
- <div id="content">
- <h1>Happy Birthday du bist Eingelogt :D</h1>
- </div>
- </div>
- </center>
- </body>
- </html>
- <?php
- }
- ?>
Add Comment
Please, Sign In to add comment