Page 1 of 1

header redirection targets in frames

Posted: Mon Jun 26, 2006 9:06 pm
by Jade
Hey, does anyone know how to do a header() redirect and set a target for frames? Ie
header("location: $url" target=_self"); kind of an idea.

Let me know,
Thanks

Posted: Mon Jun 26, 2006 9:13 pm
by phpCCore Brad
As far as I know that wouldn't be possible... That is like adding HTML commands to PHP. You would probably either need to use an HTML refresh or a JS solution to open to a different page.

Posted: Mon Jun 26, 2006 9:16 pm
by Jade
Thats what I was thinking but I wanted to make sure.

Thanks