forked from miraty/web
29 lines
782 B
PHP
29 lines
782 B
PHP
|
<?php session_start(); ?>
|
||
|
<!DOCTYPE HTML>
|
||
|
<html>
|
||
|
<?php // Appelle le <head>
|
||
|
include "inc/head.php";
|
||
|
head("Déconnexion | Anternet.pw", "Effacer sa session PHP (sa connexion à son compte)"); ?>
|
||
|
<body class="<?php include "inc/couleur.php"; ?>" lang="fr">
|
||
|
<div class="main">
|
||
|
<?php include "inc/menu.php"; ?>
|
||
|
<div class="texte">
|
||
|
<?php session_destroy(); ?>
|
||
|
<p>
|
||
|
<h1>
|
||
|
Vous avez été déconnecté·e
|
||
|
</h1>
|
||
|
<h2>
|
||
|
Votre session PHP a été effacée avec l'instruction <code>session_destroy();</code>.
|
||
|
</h2>
|
||
|
Vous allez être redirigé·e vers la page d'accueil.
|
||
|
<script type="text/javascript">
|
||
|
setTimeout("document.location.href='index.php'", 3000);
|
||
|
</script>
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<?php include "inc/footer.php"; ?>
|
||
|
</body>
|
||
|
</html>
|