Re: Improving PEAR::Auth

From: Date: Tue, 09 Oct 2001 11:32:25 +0000
Subject: Re: Improving PEAR::Auth
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-2199@lists.php.net to get a copy of this message
> I thought about passing a new, optional parameter to the constructor, > which names a user-defined function that is used to create the output > form. +1 > <?php > function myOutput() > { The function should have the parameters user, password and status. You can't access the object vars like drawLogin. The status parameter should contains such constants like PEAR_AUTH_IDLED, PEAR_AUTH_EXPIRED or PEAR_AUTH_WRONGPASSWORD etc.

« previous php.pear.dev (#2199) next »