Membership management with password encryption
With the popularity of Ajax , we have included this concept in our membership management script new versions. You can see the demo of signup and login forms
In the present membership management software we have increase the filed size to 32. A varchar field of 32 lengths is required to store our passwords.
Signup pageWhile inserting the member details to our member table we have to encrypt the password of the member before storing them in the table. Like this .
While checking the signup details of the member we have to check the email address used by the member is already there with us or not. So one more check above the other checks are added ( in comparison to basic script )
Login pageHere we will be asking the visitor to enter his / her login id and password. Before checking the password with the table we have to encrypt it and then match the encrypted password along with the userid against the stored id and password in our membership table.
Change password pageHere once the password validation is cleared, we have to encrypt the password and then update the table with new password.
Forgot password feature.This is the most important part in member signup script where password is encrypted. We can't retrieve the lost password so we will use one activation key. We will discuss in detail in next section Part II.
Update ProfileUser can update the membership details that was submitted at the time of signup. The data will be displayed with edit option to the users. After updating user gets a success message.
Subscribe to our YouTube Channel here
This article is written by plus2net.com team. https://www.plus2net.com
PHP Session: Creating , using destroying Session variables PHP Session ID: generating session id and re-generating Online membership management script Posting Activation key for lost encrypted password to the email address Creating a signup page and storing member details in MySQL Storing signup data in a table Changing or updating password by the logged in member Forgot password feature in member signup script Basic login form Login script to authenticate user from a mysql table data Checking the status of user for login or logged out Updating member profile inside member area Adding Profile Photo by Members after login Finding out who are online