RE: [PHP] Header and Target
| From: | Brian V Bonini | Date: | Thu, 15 Aug 2002 13:57:53 +0000 |
| Subject: | RE: [PHP] Header and Target | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112750@lists.php.net to get a copy of this message | ||
No, but instead you could do something like:
header ("Location: frame.php?url=content.php");
Then in frame.php:
<?php if ($url) { ?>
<FRAME NAME="content" SRC="<?= $url ?>" MARGINWIDTH="1"
MARGINHEIGHT="1"
SCROLLING="Auto" FRAMEBORDER="0" NORESIZE>
<?php } ?>
Make sense?
-Brian
*****************
> -----Original Message-----
> From: Christian Ista [mailto:christian.ista@teledisnet.be]
> Sent: Thursday, August 15, 2002 7:32 AM
> To: php-general@lists.php.net
> Subject: Re: [PHP] Header and Target
>
>
>
> > That's a HTML thing. I think you're confusing header() with
> <HEAD></HEAD>
> I
> > believe.
>
> No no
>
> I explaine, I do that :
>
> <FRAMESET>
> <FRAMESET rows="80,*,80">
> <FRAME src="top.html" noresize scrolling="No" border="0"
> frameborder="No">
> <FRAMESET cols="150,*">
> <FRAME src="left.html" noresize scrolling="No" border="0"
> frameborder="No">
> <FRAME src="mainpage.html" border="0" frameborder="No"
> name="content">
> </FRAMESET>
> <FRAME src="menu.html" noresize scrolling="No" border="0"
> frameborder="No">
> </FRAMESET>
> </FRAMESET>
>
>
> I'd like to display all my pages in the frame "content". Some times, from
> the menu for example, I do a <a href="....." target="content">
> that it's ok
> but sometimes, I call a php page by header( header("Location:
> mypage.php"); ) but I'd like to display the content in content section
> frame.
>
> To do something like that :
>
> www.padeg.be
>
> Bye
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>