comparing a password string
Posted: Fri Feb 03, 2006 2:45 pm
I've had a look at http://au2.php.net/strcmp and want to basically find out if it's the best way to compare?
I have two variables, $password and $password2 and I want to make sure they're EXACTLY the same, for the password check when a user wants to change their password.
Is that the correct function or is there something better?
Thanks so much, any advice really appreciated,
Rob
I have two variables, $password and $password2 and I want to make sure they're EXACTLY the same, for the password check when a user wants to change their password.
Is that the correct function or is there something better?
Thanks so much, any advice really appreciated,
Rob