if(!isset($_SESSION["email"]))
{
if(!headers_sent())
{
$strRedirectUrl = $site['url'].'admin/index.php';
header("Location:".$strRedirectUrl);
}
else
{
$strRedirectUrl = $site['url'].'admin/index.php';
?>
{
if(!headers_sent())
{
$strRedirectUrl = $site['url'].'admin/index.php';
header("Location:".$strRedirectUrl);
}
else
{
$strRedirectUrl = $site['url'].'admin/index.php';
?>
location.href = '';
}
}
}
No comments:
Post a Comment
Please mention your comments.......