note 31025 deleted from function.header by stone
| From: | stone@php.net | Date: | Sat, 28 Jun 2003 21:28:52 +0000 |
| Subject: | note 31025 deleted from function.header by stone | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-51142@lists.php.net to get a copy of this message | ||
Note Submitter: bebop@gmx.at
----
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><?
}