NoteOnMe博客平台搭建
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

5 lines
136 B

3 years ago
  1. <?php
  2. require_once "pdo.php";
  3. session_start();
  4. unset($_SESSION['user_id']);
  5. unset($_SESSION["name"]);
  6. header( 'Location: index.php' ) ;