diff options
Diffstat (limited to 'logout.php')
-rw-r--r-- | logout.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/logout.php b/logout.php new file mode 100644 index 0000000..d454339 --- /dev/null +++ b/logout.php | |||
@@ -0,0 +1,7 @@ | |||
1 | <?php | ||
2 | // effet du bouton déconnexion | ||
3 | session_start(); | ||
4 | $_SESSION['motdepasse'] = 0; | ||
5 | session_destroy(); | ||
6 | header('Location: index.php'); | ||
7 | ?> | ||