I can't figure this one out:
I am using header("Location: http://xx.html");
That works fine except that it opens the page in the current frame. How can I tell it to open on "top" as in HTML: target="_top"
Thank you !
I guess you can't, you should put it in the HTML link in which you link to the script with the header, for example, myscript.php3.
<a href="myscript.php3" target="_top">My Link</a>
Hope this helps. Greetz,
Vincent Driessen Webmaster PHP Freakz.com http://www.phpfreakz.com/ E-mail: vincent@phpfreakz.com
Try <base target="_top> inside the <head> of the referring frame. Of course that means ALL the links in the frame will reload the entire browser window.
I have used
header ("Window-target: _top"); header ("Location: http://xx.html");