RE: [PHP] Limitation of redirecting using header()?
| From: | Johnson, Kirk | Date: | Tue, 10 Apr 2001 18:38:16 +0000 |
| Subject: | RE: [PHP] Limitation of redirecting using header()? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48062@lists.php.net to get a copy of this message | ||
There is also the client-side META tag redirect, which has been deprecated
by W3C (although it is hard to imagine the browser makers not supporting
this for quite a while longer):
echo("<HTML><HEAD><META HTTP-EQUIV=\"refresh\"
CONTENT=\"$delay;url=$url\"><
/HEAD><BODY BGCOLOR=#ffffff>$message</BODY></HTML>");
As for the address bar contents not changing, I don't know what to say. I
haven't seen your problem. Are you actually referring to the Title Bar
instead of the address bar? The contents of the <TITLE> tag need to be
different for each page for the title bar to change.
Kirk
> From everything I have read so far, the only way to redirect
> programmatically is via header(). Unfortunately, what I'm
> seeing is that
> while the followup page is loaded, the location in the
> address bar (of IE
> 5.5) is not updated. Is this something specific to IE? I
> would like the
> address bar to have the correct address instead of the old page.
>
> Any suggestions?
>
> - Daniel
>