Logout In Php

 ------------logout--------------
<?php
session_start();
include("db.php");
unset($_SESSION['username']);
unset($_SESSION['password']);
session_destroy();
header("location:index.php?logout successfully.");
?>

Post a Comment

0 Comments