hi,
i have the following code that enables a user to be logged out. This works perfectly however i now wish a confirmation dialog to appear asking to user to confirm thier actions but how do I do this in this code:
<?php
session_start();
session_destroy();
$logout = "login.php";
header("Location: $logout");
?>
thanks in advance