salir.php 196 B

12345678910
  1. <?php
  2. session_start();
  3. $_SESSION = array();
  4. session_unset();
  5. session_destroy();
  6. if(isset($_GET["expired"]))
  7. header("Location: index.php?expired=1");
  8. else
  9. header("Location: index.php");
  10. ?>