Re: [PHPLIB] clueless dummy From: Danny William Adair (Danny <email protected>)
Date: 12/15/99

Thank you very much for your reply.

> On 2. Yes - you have to "Extend" the auth class
> as Register_Auth, and do the var $mode = "reg";
> there. In local.inc, there are such classes
> extended, for example.

That means I have TWO derived classes?
One for "log", one for "reg"?
 
> I found, however, that there is no default code
> handling the function auth_doregister() so
> selecting it does not automatically work. You
> have to write this function.

Oh, I've got that going fine. My "reg" mode works as it should.
My only problem was that I wasn't sure how to *switch*.
I either had "reg" or "log" as a fixed mode. I just couldn't imagine
that deriving another class was the "usual" way to do it.
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.