how to : header(<to _parent frame>)

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
shans
Forum Newbie
Posts: 6
Joined: Sat Apr 12, 2003 7:31 am

how to : header(<to _parent frame>)

Post by shans »

Hi *,

I have a php page in a frameset and I want to load via header() another php page into the _parent frame.

Does anybody know the HTTP Syntax to do so or a workaround.

thx in advance

Stefan
hedge
Forum Contributor
Posts: 234
Joined: Fri Aug 30, 2002 10:19 am
Location: Calgary, AB, Canada

Post by hedge »

Can't be done. Netscape proposed some headers a few years back but it's not supported.

The workaround I use is to display a page back saying 'redirecting' with some js in the onload that redirects after 2 seconds. I also provide the link so then can click it if they have js disabled... it's the same thing they do here after you post.
Post Reply