user authentication and conditional redirect
Posted: Wed Feb 19, 2003 1:24 pm
I'm trying to build an extranet for a project. Ideally, there will be a login page which will allow users to enter a username and password (stored in a MySQL database), and, upon successful authentication, the user will be taken to a custom URL (also sotred in database)
.
I have done some "Google"-ing on this subject, and the articles I find talk about using header() to achieve this.
As it stands, I have a MySQL database with these fields:
ID
username
password
page - page to send user to upon successful login
Any ideas how to go about this conditional redirect?
Any help would be greatly appreciated.
Thanks!
Tim
I have done some "Google"-ing on this subject, and the articles I find talk about using header() to achieve this.
As it stands, I have a MySQL database with these fields:
ID
username
password
page - page to send user to upon successful login
Any ideas how to go about this conditional redirect?
Any help would be greatly appreciated.
Thanks!
Tim