<?php
session_start();

// Destroy all session data
session_destroy();

// Redirect to the root directory (domain itself)
header('Location: ../');
exit;
?>