Log in

View Full Version : Form Handlers?username password login



Argyrodes
05-26-2009, 08:16 AM
Hi all,
First thing is please forgive me I am far from a novice at this scripting (I am worse) but I am trying :)
I have a homepage which I would like to get running however I am stuck with the Login: (username/password), also the (forgot password). My question is, How do I write such a script to, OR do I have to write a script to deal with such an action? I hear I would need an "event handler"? So should someone want to join my site they would have to register, then they would have to login and should they ever forget their password (God forbid) or username it would be sent to them automatically.
Please could anyone advise me

Thank you

forum_amnesiac
05-26-2009, 10:56 AM
My advice to you would be to do this in something like PHP, you can have a member database with ID, email and password.

When somebody tries to login the ID and password is checked against the database.

If the ID and password are correct they are permitted access.

If the ID is there but the password is incorrect they can be informed of this and asked to re-enter it, or they can be asked if they have forgotten it.

If they have forgotten it, an email can be sent to the email address stored on the record for the ID.

There are a number of PHP scripts around that have been designed to do this, have a search

Argyrodes
05-26-2009, 04:19 PM
Thank you very much forum_amnesiac,I will have a good look into this.

Once again thanks for the advice