diff options
| author | polo <ordipolo@gmx.fr> | 2024-02-09 15:56:55 +0100 |
|---|---|---|
| committer | polo <ordipolo@gmx.fr> | 2024-02-09 15:56:55 +0100 |
| commit | 949737cf5fc2a21b36c4a269a437d0dc2e965441 (patch) | |
| tree | 5a6962408f833e6e2b04519fed544193e41e6360 /logout.php | |
| download | lelionetlecolibri-949737cf5fc2a21b36c4a269a437d0dc2e965441.tar.gz lelionetlecolibri-949737cf5fc2a21b36c4a269a437d0dc2e965441.tar.bz2 lelionetlecolibri-949737cf5fc2a21b36c4a269a437d0dc2e965441.zip | |
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 | ?> | ||
