Re: Redirecting
| From: | Chris Shiflett | Date: | Thu, 16 Jan 2003 16:38:08 +0000 |
| Subject: | Re: Redirecting | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131892@lists.php.net to get a copy of this message | ||
--- "Denis L. Menezes" <menezesd@singnet.com.sg> wrote:
> I want ot redirect users to another page after successful
> login. Can someone please help me with the PHP code for
> redirecting?
You have many options:
1. After a successful login, display the proper page to the
user instead of redirecting. This is my preference.
2. Use a Location header to cause a protocol-level
redirect. For example, header("Location:
http://www.google.com/");
3. Use an HTML meta tag for redirecting.
Chris