question about mysql / php login website.?

  • Thread starter Thread starter brandons
  • Start date Start date
B

brandons

Guest
I need some help. Im creating a webpage where ill need to have a login screen, once they type it in, each person gets redirected to their own website.... could someone help me?
 
You use an HTML form to get the username/password, look it up on the "action" page using PHP to run an SQL query, and then once it is validated, redirect the user (via javascript or just saying "login success, click here to view your page) that sends them to their directory (which for simplicity sake should be their username).

ie: domain.com/loginphp -> domain.com/success.php -> domain.com/username/index.html
 
Back
Top