我有一个博客被添加的代码无效
我正在寻找解决方案Location: $set->url/login.php
使用target="_top"
<?php
include "/inc/init.php";
include '/lib/pagination.class.php';
if(!$user->islg()) {
header("Location: $set->url/login.php");
exit;
}
$page->title = "Profile View";
$presets->setActive("dashboard");
echo '
<legend></legend>
<div class="jumbotron">';
?>
答案 0 :(得分:0)
尝试使用Window-target
header('Window-target: _top');
header("Location: $set->url/login.php");