Cosmetic iand spell fixes.
[Project_webapp.git] / includes / logout.php
CommitLineData
a96fefe1
JB
1<?php
2unset($_SESSION['email']);
3unset($_SESSION['IP_address']);
4session_destroy();
5echo "You've been successfully logged out, you will be redirected to the home page in 2 seconds. <br>";
6redirect("index.php", 2);
7?>