1) User signs up to your website, you save all their details to mysql
2) User now logs in
3) Your validation login.php script checks the username/ password, referrer, that it is a POST etc.. and if all is ok then(below is a simplification)
//login.php
If($username >0 && $password >0){
header("location: admin.php?user=. $POST['username']");
}
4) This would take them to a URL admin.php?user=joebloggs where all their config data was loaded from mysql.
Ok so i think this would all work pretty well after various tweaks/safegaurds but say i don't want the admin.php?user=joebloggs, for example, when you log into yahoo answers you see answers.yahoo.com/?login briefly, and then the next URL you is answers.yahoo.com/question/ask same as everyone sees
So how do you you show everyone who logs in the same URL but have their own personal config loaded?
2) User now logs in
3) Your validation login.php script checks the username/ password, referrer, that it is a POST etc.. and if all is ok then(below is a simplification)
//login.php
If($username >0 && $password >0){
header("location: admin.php?user=. $POST['username']");
}
4) This would take them to a URL admin.php?user=joebloggs where all their config data was loaded from mysql.
Ok so i think this would all work pretty well after various tweaks/safegaurds but say i don't want the admin.php?user=joebloggs, for example, when you log into yahoo answers you see answers.yahoo.com/?login briefly, and then the next URL you is answers.yahoo.com/question/ask same as everyone sees
So how do you you show everyone who logs in the same URL but have their own personal config loaded?