logout in php
<?php
if(isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['uname']);
header('location:login.php');
}
?>
logout in php
<?php
if(isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['uname']);
header('location:login.php');
}
?>
logout in php
if(isset($_GET['logout'])) {
session_destroy();
unset($_SESSION['username']);
header('location:login.php');
}
php logout
<?php
ob_start();
if (!isset($_SESSION))
session_start();
unset($_SESSION['user_id']);
session_destroy();
header("location:index.php");
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us