Wednesday, 17 September 2014

for logout a session in php

Save as logout.php
<?php
session_start();
if(session_destroy())
{
header("location:login.php");
}
?>

No comments:

Post a Comment