| Current Path : C:/xampp/htdocs/dcp_inventory/ |
| Current File : C:/xampp/htdocs/dcp_inventory/logout.php |
<?php
session_start();
// Destroy all session variables
session_unset();
// Destroy the session itself
session_destroy();
// Redirect the user to the login page
header("Location: index.php");
exit();
?>