Re: [PHPLIB] auth_validatelogin() From: Bryan McGuire (joefriday <email protected>)
Date: 12/09/99

I did it by adding something like this to the beginning of my
auth_validatelogin()
if ($new=="yes")
      $this->unauth();
      $this->nobody = false;
      $this->mode = "reg";
      $this->start();
    }
----- Original Message -----
From: Roman Kalenjuk <rimo <email protected>>
To: <phplib <email protected>>
Sent: Thursday, December 09, 1999 11:30 AM
Subject: [PHPLIB] auth_validatelogin()

> Hi there!
>
> PHPLib is the way to go! Anyway!
>
> I was very supprized with it's power.
>
> I've got a question I can't answer to myself.
>
> How can I switch My_Auth class from "log" mode to "reg" mode
>
> dynamicly (using auth_validatelogin() in my local.inc)?
>
> So if the login was not found in my auth_user table I can
>
> supply user with registration form.
>
> I'll appreciate any idea.
>
> Thanks.
>
> --
> Roman Kalenjuk [Rimo]
> -----------------------------[rimo <email protected>]
> Internet Development & Unix System Administration
>
>
>
> -
> 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.

-
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.