Re: header("Location: page.php target=_parent")?????
| From: | Ospinto | Date: | Sat, 26 Mar 2005 21:39:31 +0000 |
| Subject: | Re: header("Location: page.php target=_parent")????? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-211626@lists.php.net to get a copy of this message | ||
use javascript
<body
onLoad="javascript:parent.document.location.href='page.php'"></body>
not
the header function.
"Jacques" <admin@hrfocus.co.za> wrote in message
news:20050325135722.7177.qmail@lists.php.net...
> How should I formulate the header function to replace the current frameset
> page with a new one? I have tried a combination of header("Location:
> page.php target=_parent"); but I get an error message saying the page does
> not exist.
>
> Also, can I save a frameset page with a .php extension? I have tried it
out
> and it seems to work. Maybe perhaps I should not do this as there may be
> some implications later on???
>
> Regards
>
> Jacques