Admin pages

from https://github.com/mariofont/PHP-Login
This commit is contained in:
2022-04-12 18:03:06 +02:00
parent 053598bf47
commit 2c36f7af82
6 changed files with 160 additions and 1 deletions

6
admin/logout.php Normal file
View File

@@ -0,0 +1,6 @@
<?php
session_start(); /* Starts the session */
session_destroy(); /* Destroy started session */
header("location:login.php"); /* Redirect to login page */
exit;