I need a script that verifys a username and password against a Username and Password column in an SQL database, then if the results match redirects the user to a URL also stored in the database against each user, allowing different users access to different pages.
I'm fairly new to this and any help will be much appreciated.
thanks
D
Redirect after login
Moderator: General Moderators
- daven
- Forum Contributor
- Posts: 332
- Joined: Tue Dec 17, 2002 1:29 pm
- Location: Gaithersburg, MD
- Contact:
Check out these tutorials:
http://www.phpdeveloper.org/view_tut.php?id=41
http://www.phpdeveloper.org/view_tut.php?id=43
For the redirect, you will want to use header("Location: your/location/here");
http://www.phpdeveloper.org/view_tut.php?id=41
http://www.phpdeveloper.org/view_tut.php?id=43
For the redirect, you will want to use header("Location: your/location/here");