note 31318 deleted from function.header by kennyt

From: Date: Sun, 18 Jul 2004 18:09:32 +0000
Subject: note 31318 deleted from function.header by kennyt
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-73565@lists.php.net to get a copy of this message
Note Submitter: james@SORRYNOSPAM.com ---- If you try to redirect your page with the Header instruction, as: Header('Location: http://www.spaccawarrant.it/index.html'); and this is done inside one of your page frames, the page you asked for will be opened inside that frame. How to get on the _top page? I found no solution with php, but with a very simple javascript: Just call a very short page with this small javascript inside <html> <body> <SCRIPT LANGUAGE="JavaScript"> top.location.replace ('http://www.spaccawarrant.it/index.html') </SCRIPT> </body> </html> and you'll be able to clear all frames!

« previous php.notes (#73565) next »