Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php logout

<?php

ob_start();
if (!isset($_SESSION))
    session_start();
unset($_SESSION['user_id']);
session_destroy();
header("location:index.php");
Source by www.alphansotech.com #
 
PREVIOUS NEXT
Tagged: #php #logout
ADD COMMENT
Topic
Name
3+5 =