Re: RFC on merge of PHPLib and Pear
| From: | Jon Parise | Date: | Wed, 07 Mar 2001 17:12:48 +0000 |
| Subject: | Re: RFC on merge of PHPLib and Pear | ||
| References: | 1 2 | Groups: | php.pear |
| Request: | Send a blank email to php-pear+get-1655@lists.php.net to get a copy of this message | ||
On Wed, Mar 07, 2001 at 06:09:19PM +0100, Bjrn Schotte wrote:
No personal offense intended, Björn, but ...
> > I should be able to pass a parameter to the Auth_ip constructor to
> > tell it what ips are valid,
>
> Use the $GLOBALS[] name space or -- and there your argument
> comes true that this could be improved -- change auth.php
> that it calls $this->validatelogin() with a parameter (i.e.
> Hash to be flexible).
Ugh. That's horrible coding practice. Please, nobody take this
suggestion seriously.
--
Jon Parise (jon@csh.rit.edu) . Rochester Inst. of Technology
http://www.csh.rit.edu/~jon/ : Computer Science House
Member