Re: Redirection
| From: | -=| Julien Bonastre |=- | Date: | Mon, 23 Sep 2002 15:10:53 +0000 |
| Subject: | Re: Redirection | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-117289@lists.php.net to get a copy of this message | ||
Yes that's right.. It's a standard HTTP/1.0 command I'm pretty sure so yeah.
Actually referring to the rfc docs it could date back to even eariler HTTP
standards too..
Hmm.. Yeah just don't send anything but header's and you can successfully
redir. with that header("Location: xxx"); function..
------oOo---------------oOo------
Julien Bonastre [The_RadiX]
The-Spectrum Network CEO
the_radix@the-spectrum.org
www.the-spectrum.org
------oOo---------------oOo------
----- Original Message -----
From: "Chris Shiflett" <shiflett@php.net>
To: "Sascha Braun" <saschabraun@gmx.de>
Cc: "PHP Mailingliste" <php-general@lists.php.net>
Sent: Monday, September 23, 2002 10:22 AM
Subject: Re: [PHP] Redirection
> Sascha Braun wrote:
>
> >I want to post a form and after parsing i want to redirect the user to
the home page.
> >
> >header() doesn't work in this circumstance, what can I do else?
> >
>
> header() does work in this circumstance. In what way do you think it
> doesn't?
>
> header("Location: http://www.google.com/");
> exit;
>
> Include that code "after parsing", and your users will be redirected to
> Google's Web site. I'm not aware of any Web client that does not support
> this, regardless of how old or uncommon.
>
> Chris
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>