-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogout.php
More file actions
32 lines (28 loc) · 729 Bytes
/
logout.php
File metadata and controls
32 lines (28 loc) · 729 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?php
/* Log out process, unsets and destroys session variables */
session_start();
session_unset();
session_destroy();
?>
<!--
logout.php
StockExperience
Edited by BinarySoftware on 07/03/2019.
Copyright ©2019 BinarySoftware/Maciej Mikołajek. All rights reserved.
Purpose: Logging out user, giving feedback
-->
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Wylogowano</title>
<?php include 'css/css.html'; ?>
</head>
<body>
<div class="form">
<h1>Dziękujemy za skorzystanie z aplikacji i zapraszamy ponownie</h1>
<p><?= 'Wylogowano pomyślnie!'; ?></p>
<a href="index.php"><button class="button button-block"/>Start</button></a>
</div>
</body>
</html>