Page 1 of 1

how to : header(<to _parent frame>)

Posted: Sat Apr 12, 2003 7:31 am
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

Posted: Sat Apr 12, 2003 4:24 pm
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.