header redirection targets in frames

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

header redirection targets in frames

Post 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
phpCCore Brad
Forum Commoner
Posts: 47
Joined: Sun Dec 04, 2005 5:46 pm
Location: Michigan, USA
Contact:

Post 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.
User avatar
Jade
Forum Regular
Posts: 908
Joined: Sun Dec 29, 2002 5:40 pm
Location: VA

Post by Jade »

Thats what I was thinking but I wanted to make sure.

Thanks
Post Reply