>我有一个博客,添加的代码不起作用 我正在寻找解决方案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">';
?>
尝试使用窗口目标
header('Window-target: _top');
header("Location: $set->url/login.php");