hi frnds,
my code for logout is
Code:
<?php
function redirect($url)
{
if(!headers_sent())
header('Location: ' .$url);
else
die('Could not redirect,output already sent to browser.');
}
session_start();
session_unset();
session_destroy();
redirect('index.php');
?>
this is working but i hav this code embedded in 1 of frames of browser window
.New page redirected is loaded in that frame only.I want to load in whole window.Plzz help?
Thanks.
