- Joined
- May 8, 2005
- Messages
- 9,053
- Points
- 1,538
Howdee, i currently have this part of my site that compares the password from the database to check that it is correct and allow the user to login.
problem comes that i'm currectly locking it all down to make it secure and now i need it to detect the password in MD5 and compare it.
i didnt write this so my knowledge is vague of it.
does anyone know how? can they please show me?
Thanks,
Ryan
PHP:
if (!(isset($_VARS['login_login']) && isset($_VARS['login_password']))) {
if (@$_COOKIE['login_login'] && @$_COOKIE['login_password']) {
$_VARS['login_login'] = $_COOKIE['login_login'];
$_VARS['login_password'] = $_COOKIE['login_password'];
}
}
problem comes that i'm currectly locking it all down to make it secure and now i need it to detect the password in MD5 and compare it.
i didnt write this so my knowledge is vague of it.
does anyone know how? can they please show me?
Thanks,
Ryan