Re: Limitation of redirecting using header()?
| From: | Mark Maggelet | Date: | Tue, 10 Apr 2001 22:48:46 +0000 |
| Subject: | Re: Limitation of redirecting using header()? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48095@lists.php.net to get a copy of this message | ||
On Tue, 10 Apr 2001 17:16:08 -0400, Daniel (daniel-php@yipyip.com)
wrote:
>I might have misread this comment, but I found the opposite.
>
>In one instance, I had:
>header("Location: $path/newpage.php");
>and in another instance:
>header("Location: newpage.php");
I'm talking about using the full url (http://...), this will update
the address bar every time (in my experience)
>The latter (without the path) did update the address bar properly.
I would stay away from doing it that way, it looks like it could be
confusing for some browsers.