I have a server with PHP and MySQL etc.
I want to destroy all the sessions connected to this server (cookies also)
The normal code to sign out
<?php
setcookie("username", "", time()-31536000);
session_start();
session_destroy();
session_unset();
header("Location: index.html");
?>