Wednesday, 15 February 2012

php - How to display password in textbox in decrypted format? -



php - How to display password in textbox in decrypted format? -

when user visits login page of website, checking cookie, if cookie available in login controls i.e. username , password text box populate values fetched cookie.

now in case, password value getting display in encrypted way.

i want display password value in decrypted way.

for example: **value of username , password in database:** username = 'kalpana'; password = '9ee10d53349b49fda27aec3da519b912' //actual value=kalpana

now in login page, if cookie available, values of username & password controls specified below:

username = kalpana password = 9ee10d53349b49fda27aec3da519b912 (in dots format)

but here in password want show

password = kalpana (in dots format)

can pls tell me how this?

you can't, not hashed string anyway. if could, incredibly bad idea.

most sites persistent logins utilize cookie identify logged in user , allow them skip login process. why don't that?

php cookies encryption

No comments:

Post a Comment