Click to See Complete Forum and Search --> : change password


chrismartz
06-26-2003, 01:31 PM
How can I allow the user to change his/her password? Does anyone have a free script or any hints. Also, on the detail page, how do I have the password show up with (*) instead of the real password?

CrazyGaz
06-26-2003, 03:08 PM
for getting the password to show as **** there are two ways, I am unsure whether you meant to display as text or as in a text box but the text box method is.

Text box method.

<input type="password" name="password1">

Then for the changing password do.

your form. and check if they're logged in (I have seen you do this in previous posts so I assume you know how)

sql="update user_details set password='" & password1 & "' where username='" & username & "'"

where user_details is the table, password is the password column in the table and username is the username column in the table.

chrismartz
06-27-2003, 10:02 PM
I would like to show the password not in a text box but on the page