1/6 (logout.php)
public php v1 · immutable<?phpsession_id(""); // set the session ID to nothingsession_start(); // initialize the sessionsession_destroy(); // destroy the sessionunset($_SESSION); // unset all session variablesheader('Location: music.php'); // redirect to login?>