
-----------------------------------
Civik
Fri Sep 14, 2007 6:13 pm

Redirection after logging in?
-----------------------------------
Im trying to write a simple login script that if you put in the right username and password, you get redirected to a page such as google.ca for an example, but if not it just says wrong password.

I have everything working so far except for the redirection part.

-----------------------------------
PaulButler
Fri Sep 14, 2007 7:09 pm

RE:Redirection after logging in?
-----------------------------------
Use the location header


header("Location: http://absolute-path.to/new/location.html");

