Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. <?php
  2. session_start();
  3. if(empty($_SESSION["role"])){
  4. header('Location: connexion.php');
  5. }else{
  6. echo("
  7. ?>
  8. <!DOCTYPE html>
  9. <html lang='en'>
  10. <head>
  11. <meta charset='UTF-8'>
  12. <meta name='viewport' content='width=device-width, initial-scale=1.0'>
  13. <title>Document</title>
  14. </head>
  15. <body>
  16. <h1>ss</h1>
  17. </body>
  18. </html>
  19. <?php
  20. ");
  21. }
  22. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement