Simms
|
| Posted: 09/01/2002, 3:04 AM |
|
Using : PHP, MySQL, Win2K and Apache
When adding a new user using my sign_up page, the password does not get
md5 encrypted, but are stored in plain text in the db, why ???
This is what i do:
On the Sign_up page at the "Before Insert" event i have placed this:
global $users;
$users->ds->user_pass->SetValue(md5($users->ds->user_pass-> Value));
On the Login page i have done this at the Login_DoLogin_OnClick()
if(!CCLoginUser($Login->login->Value, md5($Login->password->Value)))
Any suggestions as to why its not working ???
|
|
|
 |
|