Advertisement
GersonSalvador

logoff

Nov 25th, 2015
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2.     $_SESSION = array();
  3.     session_destroy();
  4.     setcookie('email','',-1);
  5.     setcookie('user_name','',-1);
  6.     setcookie('status','',-1);
  7.     header('Location: ../sistema');
  8. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement