Friday, 16 May 2014

logout code in php

<?php
session_start();
$_SESSION['ID']=='';
unset($_SESSION['ID']);
session_destroy;
header('location:index.php');
?>

No comments :

Post a Comment