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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]