note 14897 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 22:09:25 +0000 |
| Subject: | note 14897 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19812@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.