logout.php 124 B

123456789
  1. <?php
  2. require_once("../db.php");
  3. session_start();
  4. session_destroy();
  5. header("Location: " . $_SERVER['HTTP_REFERER']);
  6. ?>