Posted: Fri Dec 29, 2006 4:18 pm
just in case, what is in admincp? I'm beginning to think there is something bonky there.
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
ob_start();
session_start();
if($_SESSION['sessref'])
{
//echo "my name is : dolib";
$_SESSION = array();
session_unset();
session_destroy();
// header('Location: http://' . $_SERVER['HTTP_HOST'] . dirname($_SERVER['web/student']) . 'admincp.php');
header("location:admincp.php");
exit();
}
ob_end_flush();
?>