带有Target =“_ top”的$ set-> url / login.php

时间:2017-08-26 05:10:26

标签: php

我有一个博客被添加的代码无效 我正在寻找解决方案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">';
?>

1 个答案:

答案 0 :(得分:0)

尝试使用Window-target

header('Window-target: _top');
header("Location: $set->url/login.php");