logout.php 158 B

1234567
  1. <?php
  2. session_start();
  3. session_unset();
  4. session_destroy();
  5. echo '<script>alert("退出成功!");window.location.href="../login.html";</script>';
  6. exit();
  7. ?>