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:[EMAIL PROTECTED]] > > Sent: Thursday, August 15, 2002 7:32 AM > > To: [EMAIL PROTECTED] > > 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 > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php