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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.