I have a login form and I have designed my website in such a way that every user has his own dashboard.
After login, I check if
if($_POST['username']=="ryan")
{
redirect to ryan;s dashboard
}
if($_POST['username']=="jpn")
{
redirect to jpn;s dashboard
}
and so on for1500 usernames. Is it fine?