I think that set_password() will not be processed.

--
Kind regards,
Yuri.

>>>> www.AceHoster.com <<<< Quality web hosting

"Erik Price" <[EMAIL PROTECTED]> ???????/???????? ? ???????? ?????????:
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> A quick question about evaluation:
>
> I have the following line in the middle of a large if/elseif/else
> statement:
>
> elseif (!empty($_POST['newpassword']) &&
> !$user->set_password($_POST['newpassword']))
>
> I am simply wondering whether or not the set_password() method will be
> processed if the first test, !empty(), fails.  I certainly don't want to
> set the password to an empty string!  (Actually the method requires at
> least 8 characters or it fails, but I was wondering for the sake of
> curiosity what would happen.)
>
>
> Thank you,
>
> Erik
>
>
>
>
>
> ----
>
> Erik Price
> Web Developer Temp
> Media Lab, H.H. Brown
> [EMAIL PROTECTED]
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to