Re: Liveuser Pakage

From: Date: Wed, 04 Apr 2007 00:37:23 +0000
Subject: Re: Liveuser Pakage
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26997@lists.php.net to get a copy of this message
Is this supported by QF? and LiveUser? i mean.. passing the callback is_pswd_ok?, How would QF determine that the password is ok? Im not sure, i have read that part of the documentation, but correct me if am wrong. Louie On 3/30/07, Gaurav Deshpande <rocks.gaurav@gmail.com> wrote:
Hi, I m using the liveuser sample programme given on the url http://www.gvngroup.be/doc/LiveUser/authentication.php As told to me according that i have moved the declaration of function is_pswd_ok , but still its not working. My problem is that i m using the user defined function is_pswd_ok. And register the rule by command. $form->registerRule('check_pswd', 'callback', 'is_pswd_ok', $form); its giving error while trying to login as follows . *Warning*: call_user_func(HTML_QuickForm::is_pswd_ok) [ function.call-user-func< http://192.168.10.16/%7Eignu/go/live/function.call-user-func>]: First argument is expected to be a valid callback in * /usr/share/php/HTML/QuickForm/Rule/Callback.php* on line *66* It has concluded me the registering rule function "is_paswd_ok" should be member function of Quick form class. while the function is_pswd_ok is defined i the test programme which is not member function of quick form class. The function methode is defined in the programe is appeared to be the same. Kindly tell me the another methode or some other workin example of LiveUser authentication pakage if any. ** Regards, gaurav
-- Louie Miranda (lmiranda@gmail.com) http://www.axishift.com //JSM-W

« previous php.pear.general (#26997) next »