Guest User

Untitled

a guest
Jun 15th, 2019
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?php
  2. include('../assets/config.php');
  3. session_start();
  4. ?>
  5. <!doctype html>
  6. <html>
  7. <head>
  8. <meta charset="utf-8">
  9. <title>Test123</title>
  10. </head>
  11.  
  12. <body>
  13. <?php
  14. if($_SESSION['userid']){
  15. ?>
  16. <h1>Erfolgreich eingeloggt!</h1>
  17. <?php
  18. }else{
  19. echo 'Du musst dich zuerst <a href="login.php">einloggen</a>!';
  20. }
  21. ?>
  22. </body>
  23. </html>
Advertisement
Add Comment
Please, Sign In to add comment