|
If you're looking to verify a password against an encrypted password, this is the best way I've found to do it...
Use the crypt() function to encrypt the password submitted by the user with the already encrypted password as the salt. If the result is equal to the encrypted password, the password is correct. If it isn't, it's wrong.
Let me know if you need more info. Hope this helps.
__________________
<a href="http://www.lightspeedcash.com"> Make money at the speed of light!</a><br>
- Wouldn't it be cool to own a retarded monkey?
|