Justtechjobs.com Find a programming school near you






Online Campus Both


php3-list | 2000051

Re: [PHP3] Question about the header From: Richard Lynch (richard <email protected>)
Date: 05/15/00

In article <004501bfbe53$6e10c8e0$1e2e38d5 <email protected>>,
frederic.haraux <email protected> ("Frederic HARAUX") wrote:

> Good Morning , I have a problem with the Header Command.
> My page contains two frames , each frame contains a combo box.
> At the beginning , the second frame is empty.
> When i choose an item in the first frame and there are no elements to =
> choose in the second,=20
> I load an other page using the javascript "parent.location" function.
> However , I have a problem with Netscape. It says : Transfer interrupted =
> at each time.
> The only solution I have found is to use the function Header.
> Nevertheless , I don't know how to apply it with target top ??
> Is it possible ?

There's some sample code I posted just the other day to do this. It's
also archived as a Code Sample (or maybe Tip) on http://www.zend.com

To apply the header to the target top, you would alter your submit or link
to have TARGET="_top".

You then make sure the FRAMESET gets the variables you need, and passes
them on to the FRAMEs:

<FRAMESET ...>
  <FRAME SRC=left.php3?foo=<?php echo urlEncode($foo);?>...>
  <FRAME SRC=right.php3?foo=<?php echo urlEncode($foo);?>...>
</FRAMESET>

-- 
Richard Lynch                | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA        | http://www.L-I-E.com/artists.htm
http://www.zend.com          | (this has nothing to do with Zend, duh!)

-- PHP 3 Mailing List <http://www.php.net/> To unsubscribe, send an empty message to php3-unsubscribe <email protected> To subscribe to the digest, e-mail: php3-digest-subscribe <email protected> To search the mailing list archive, go to: http://www.php.net/mailsearch.php3 To contact the list administrators, e-mail: php-list-admin <email protected>