Targeting header to the _parent
Moderator: General Moderators
Targeting header to the _parent
Is is possible to target a header() to the parent frame?
I think they mean that using header("Location:bla.php") target transfers the current page to where ever the location is pointing.. but they want to target the page's parent header..
..like using window.top.location.href="bla.php" in JavaScript... but obviously trying to get the same effect from PHP.
I think
..like using window.top.location.href="bla.php" in JavaScript... but obviously trying to get the same effect from PHP.
I think
Yes. very similar
Like linking with
Except with a
Like linking with
Code: Select all
<a href="home.php" target="_parent">Home</a>Code: Select all
header("Location: home.php");netscape definded a header for that purpose
http://wp.netscape.com/eng/mozilla/2.0/ ... arget.html
but neither IE nor mozilla 1.2 recognize it, so I strongly advise against it...
http://wp.netscape.com/eng/mozilla/2.0/ ... arget.html
but neither IE nor mozilla 1.2 recognize it, so I strongly advise against it...