Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //mulai session
- session_start();
- session_destroy();
- if(isset($_COOKIE['login']))
- {
- $time = time();
- setcookie("login", $time - 3600);
- }
- header('Location: ./index.php');
- exit();
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement