All pastes #2027499 Raw Edit

1/6 (logout.php)

public php v1 · immutable
#2027499 ·published 2010-12-23 19:51 UTC
rendered paste body
<?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?>