Hello,
On 05/27/08 22:13, Marcio wrote:
Hi,
Who would have tips on how to capture the return codes negative of the function "www_authorize" ??? I read somewhere that said to use $retval........but ...How can I to use it ("$retval") ??
-1 - Non existent user; -2 - invalid passwd; -3 - stale nonce; -4 - no credentials; -5 - error;
Any help will be greatly appreciated.
one mode is with switch statement:
www_authorize(...); switch($retval) { case -1: ........ break; case -2: ....... break; .... } http://www.openser.org/dokuwiki/doku.php/core-cookbook:devel#switch
Daniel
thx,
Marcio
Users mailing list Users@lists.openser.org http://lists.openser.org/cgi-bin/mailman/listinfo/users