note 14897 added to function.header.php
| From: | aukjan at vanbelkum dot nl | Date: | Mon, 20 Aug 2001 11:51:01 +0000 |
| Subject: | note 14897 added to function.header.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-16912@lists.php.net to get a copy of this message | ||
To get out of frames with header targets you can do the following:
header("Location: someurl.html");
header("Window-target:_top");
This will open the page specified by someurl.html and get you out of the frames. If you do the first
line allone, you will stay in the frameset.
Hope this helps someone.
http://www.php.net/manual/en/function.header.php