irfanamir

logout.php

Dec 14th, 2020
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. <?php
  2. session_start();
  3. session_unset();
  4. session_destroy();
  5. setcookie('username', '', 0, '/');
  6. setcookie('nama', '', 0, '/');
  7. header('location:login.php');
  8. ?>
Add Comment
Please, Sign In to add comment