repositories
/
Project_webapp.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
689d7776f02d266ae95f6cd8cea55e6b4eb98e3d
[Project_webapp.git]
/
includes
/
logout.php
1
<
?php
2
unset
(
$_SESSION
[
'email'
]);
3
unset
(
$_SESSION
[
'IP_address'
]);
4
session_destroy
();
5
echo
"You've been successfully logged out, you will be redirected to the home page in 2 seconds. <br>"
;
6
redirect
(
"index.php"
,
2
);
7
?
>