Jump to content

Newbe Login-script questions.


Haemp

Recommended Posts

Hi guys.

I am relativley new to PHP and mySQL and my question is reggarding the modeling of the login application.

So this is what I am thinking:

 

1. User sends away a form with username and password to the server.

2. The forms action script - process.php, sends a querry to the database.

3. The querry checks the database for the username and password.

4. If the given username and password corresponds to that in the database, the script redirects the browser to the users "private section".

 

Thats the general idea. Does this look "ok", or is there any major wrongs? I just want to know if I've got the idea right, what with the infrastucture and all.

 

Thanks in advance.

//Haemp

Link to comment
https://forums.phpfreaks.com/topic/101591-newbe-login-script-questions/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.