2017-08-26 4 views
0

J'ai un blog ont été un code ajouté ne fonctionne pas dans Je suis à la recherche d'une solution Location: $set->url/login.php avec un 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

Vous ne pouvez pas interpoler des chaînes de ce type sans '$ {...}'. – tadman

Répondre

0

Essayez avec Window-target

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

Merci pour votre soutien Arzoo –