Re: header()
| From: | Jonatan Bagge | Date: | Fri, 29 Sep 2000 08:44:13 +0000 |
| Subject: | Re: header() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-18022@lists.php.net to get a copy of this message | ||
It might be a good idea to put META tags telling that the page your'e
reloading isn't cached?
Richard Heyes wrote:
> > I have 3 frames and from one I want to refresh another.
> > Can I use header("Location:...") to do that?
> >
> > I've tried this:
> > header("Location: ./selected_items.php3/ Window-target=main");
> > and
> > header("Location: ./selected_items.php3/ Window-target=_parent");
> > but it doesn't work.
>
> You can't do that kind of thing with a Location header. You'll need to
> do something like this:
>
> <A HREF="your-script.php" TARGET="your-frame">Link</A>
>
> Or Javascript of course.
>
> Plus you should try to use absolute paths when handing out Location
> headers (ie. http://www.whatever.com/script... ).
>
> --
> Richard Heyes
> http://www.heyes-computing.net/scripts/
> Plain text email only please!
>
> --
> 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