In order to complete a survey I am administering online, I would like users to have to log in.
1) I need to be able to first have users create a user account and password (that I will store in a MySQL database).
2) Then, anytime a user visits the site again, I need to be able to check the information they enter against the information stored in my database when they log in.
3) Finally, I need to be able to automatically send users their password if they forget it.
If anyone knows of a place I can get example scripts from I would greatly appreciate the help!