PhotoShare/controllers/logout.php
Muhammad Anas Rashid 34753111ed My First Web application .. a real shitty one
My First Web application .. a real shitty one
2016-01-28 23:32:09 +05:00

7 lines
122 B
PHP

<?php
if(isset($_POST['signout']))
{
$_SESSION["user"] = "";
header("Location: ../views/signinPage.php");
}
?>