Advertisement
enos

logout.php

Aug 3rd, 2013
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.14 KB | None | 0 0
  1. <?php
  2. session_start();
  3. $_SESSION=array();
  4. session_destroy();
  5. setcookie('PHPSESSID','',time()-3600,'/','',0);
  6. header("location: ./");
  7. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement