forked from halo-battle/game
First code received by Master Leon
This commit is contained in:
commit
4230eb6922
330 changed files with 15543 additions and 0 deletions
13
logout.php
Normal file
13
logout.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
// On appelle la session
|
||||
session_start();
|
||||
|
||||
// On écrase le tableau de session
|
||||
$_SESSION = array();
|
||||
unset($_SESSION);
|
||||
|
||||
// On détruit la session
|
||||
session_destroy();
|
||||
|
||||
@header("Location: index.html");
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue