Posted by Shek on May 8, 2011 under PHP |
In system designing, there are many cases which requires user to login in order to access some restricted areas. And so, we might need to generate an initial password for the user. Here I am going to show you how to generate random passwords with integers
Read more of this article »
Posted by Shek on June 17, 2008 under HTML |
In some cases such as login system, the HTML form should contains a text field for the user to type in the password. But when the user types in the password, other might see the password from behind the user. To avoid from this happening, a password text field is needed. A password text field works when the user type the password into the text field, every character will turn into *.
Read more of this article »
Posted by Shek on May 16, 2008 under PHP |
Editor’s note: In a login system, there are user names and passwords stored in the MySQL database. The passwords are normally stored as strings inside the database. To have a more security way to store the passwords in the database, it is better to store an encrypted version of the password, therefore only the password creator knows what the password is.
MD5 is the encryption technology I like to use because it is very easy to implement and it encrypts a string into a 32-character strings, for reference what MD5 really is, please check Wikipedia-MD5.
Read more of this article »
Tags: Button, Database, Encryption, HTML, HTML form, HTML form element, Insert, MD5, MySQL, Password, PHP Function, Query, Submit-button, Text-field