Jump to content

login scripts


rtown

Recommended Posts

I am hoping that someone may be able to help me out finding a nice \"simple\" login script using PHP and MySQL, just a simple check database, prompt for first time logins etc. If you know of any good links or scripts I am desperate, this is a minor side part of my project and not much time to focus on it.

 

Here\'s hopin :lol:

Link to comment
https://forums.phpfreaks.com/topic/84-login-scripts/
Share on other sites

Database:

- tabel \'users\'

- field \'username\'

- field \'password\'

 

Make a form where the users must provide their info.

 

Check for existence in the db, if so, set the username in $_SESSION[\"username\"] and do a session_start();

The session_start() should occure on each page at the top.

 

If not occuring in the db, you might ask for more info, or a retype of the password.

 

Nothing much to do ;-)

If you need sample-code, just ask.

 

Grtz,

Toni.

Link to comment
https://forums.phpfreaks.com/topic/84-login-scripts/#findComment-243
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.