Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //memulai session
- session_start();
- //cek session
- if (!isset($_SESSION['login']))
- {
- header('location:./index.php');
- }
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8">
- <title>Home Remember Me</title>
- </head>
- <body>
- <h5>Selamat datang di halaman utama website</h5>
- <p><a href="./logout.php">Logout</a></p>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement