Liveuser Pakage

From: Date: Fri, 30 Mar 2007 12:54:46 +0000
Subject: Liveuser Pakage
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-26958@lists.php.net to get a copy of this message
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

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