Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Initialize the session
- session_start();
- // Unset all of the session variables
- $_SESSION = array();
- // Destroy the session.
- session_destroy();
- // Redirect to login page
- header("location: index.php");
- exit;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment