Jump to content

password encryption


bd75or

Recommended Posts

Also was wondering if could give me some advice on this problem im having since you know php thought u might know what to do. I basically created a login system last night which links to backend mysql database using php5.

 

problem im having is i dont know how i would make it so when the user types a password into the password field on the login form, the password itself cant be viewed and is displayed as dots/asterisks.

 

I do not the need password itself to be encrypted in the mysql database so that the administrator cant view the password that is not necessary, all i want is so that it is displayed as asterisks/dots when the user types his password in.

 

I have read up about encryption but cant seem to get it working with my code, and also not sure whether encryption is the answer to my problem as me seeing the password in the database does not matter that is fine, I just want the password not to be visible when a user types it in the password field on the login page.

 

It is worth noting that i manually enter password/users into my database, a registration form does not handle it.

 

Website address:    http://sunderlanduni.net23.net/

 

you will see how the password is displayed in the password field without encryption.

 

Please let me know asap your thoughts

 

Thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/147036-password-encryption/
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.