RE: [PHP] Header and Target
| From: | Adam Williams | Date: | Thu, 15 Aug 2002 14:45:30 +0000 |
| Subject: | RE: [PHP] Header and Target | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-112766@lists.php.net to get a copy of this message | ||
To make that work with register_globals = off wouldn't you use
<? php if ($_REQUEST[url]) { ?>
Adam
On Thu, 15 Aug 2002, Brian V Bonini wrote:
> 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
> >
>
>
>