|
In the database that stores the usernames and passwords you could add another column that specifies the directory the person is forwarded to.
After you have done that you can then do something easy in php like this.
Assuming you use the sessions as detailed below, its like this, oh and the 1 on the logged in session means Yes.
<?php
if ($_Session['loggedin'] == "1") {
header ("Location: $data['forwarded directory out of database'];
}
?>
If you need a hand with it im sure if you post the login script then someone can help you.
__________________
I have become death, destroyer of worlds.
|