Jump to content

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

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.