Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include('../assets/config.php');
- session_start();
- ?>
- <!doctype html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Test123</title>
- </head>
- <body>
- <?php
- if($_SESSION['userid']){
- ?>
- <h1>Erfolgreich eingeloggt!</h1>
- <?php
- }else{
- echo 'Du musst dich zuerst <a href="login.php">einloggen</a>!';
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment