Re: header() and frameset

From: Date: Fri, 01 Feb 2002 17:23:12 +0000
Subject: Re: header() and frameset
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-83148@lists.php.net to get a copy of this message
Anywhere in the <head> of the page you're gonna bust out, place this small code -- <script> if (parent.frames.length > 0) { parent.location.href = self.document.location } </script> Benjamin deRuyter wrote: > Does anybody know of a way to break out of a frameset while using the > following code to redirect the browser: > > header("Location: http://www.anywhere.com/"); > exit(); > > Thanks. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#83148) next »