note 31025 added to function.header
| From: | bebop at gmx dot at | Date: | Mon, 07 Apr 2003 11:07:08 +0000 |
| Subject: | note 31025 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-46305@lists.php.net to get a copy of this message | ||
in other forums it was often asked, when using frames how to forward to a page that shall be on
_top.
now the problem is that you CAN'T do that with PHP.
some workaround:
forward to the frameset and provide information which file should be shown in what frame:
<FRAMESET ...>
<FRAME SRC=<?= $nav ?> ...>
<FRAME SRC=<?= $top ?> ...>
<FRAME SRC=<?= $content ?> ...>
</FRAMESET>
or do
if ($forward)
{
?><body>
...
</body><?
}
else
{
?><frameset>
...
</frameset><?
}
--
http://www.php.net/manual/en/function.header.php
http://master.php.net/manage/user-notes.php?action=edit+31025
http://master.php.net/manage/user-notes.php?action=delete+31025
http://master.php.net/manage/user-notes.php?action=reject+31025