<?php
session_start();
session_destroy(); // ลบข้อมูลการ Login ทั้งหมด
header("Location: index.php"); // ส่งกลับหน้าแรก
exit();
?>