PHP "header (location)" isnide IFRAME, to load in _top location?
Posted
by Spoonk
on Stack Overflow
See other posts from Stack Overflow
or by Spoonk
Published on 2010-06-06T18:28:03Z
Indexed on
2010/06/06
18:32 UTC
Read the original article
Hit count: 174
Hi Webmasters.
I have a simple form which is inside IFRAME. When user click on SUBMIT, it redirects to a specific page on my server. The function I use for the redirect is
header ('Location: mypage2.html');
exit ();
But I want the new page to open in _top location, not inside the same IFRAME that I use. How can I tell the browser to open the new page in _top not inside the IFRAME? Thanks in advance.
© Stack Overflow or respective owner