14 January 2008 ~ Comments Off

Confirm your passwords

I have added a quick function to the auth class that will allow you to check your passwords. You will need to feed the function the password field and the confirm password field. It will check if they match then return TRUE or FALSE if they don’t.

Download the db_class

[php]$auth = new auth();
$auth->validates_confirmation_of_password($password,$password2);[/php]

Tags: ,

Comments are closed.