Tags: 2005-03-25, current, formulate, framesetgt, fri, function, header, jacques, location, page, pagephp, php, programming, target_parent, wrotegt

header("Location: page.php target=_parent")???

On Programmer » PHP

1,283 words with 0 Comments; publish: Wed, 30 Apr 2008 16:45:00 GMT; (20046.88, « »)

On Fri, 2005-03-25 at 08:57, Jacques wrote:

> How should I formulate the header function to replace the current frameset

> page with a new one? I have tried a combination of header("Location:

> page.php target=_parent"); but I get an error message saying the page does

> not exist.

> Also, can I save a frameset page with a .php extension? I have tried it o


> and it seems to work. Maybe perhaps I should not do this as there may be

> some implications later on?

'header' send raw http headers of which 'target' is NOT a part of. Use

plain html to do it ot post a better description of what your trying to

do. Surely there is a way to accomplish it but perhaps not along the

same lines of thought your current pursing.


Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu



gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC

Key Info: http://gfx-design.com/keys

Linux Registered User #339825 at http://counter.li.org

All Comments

Leave a comment...