Re: [PHP-PEAR] RFC on merge of PHPLib and Pear
[email protected] (Chuck Hagenbuch) Wed, 7 Mar 2001 11:57:07 -0500
| Newsgroups | php.pear |
|---|---|
| Message-ID | <[email protected]> |
Quoting Björn Schotte <[email protected]>: > It seems you have never used PHPLIB's Auth? It was a long time ago; I recalled validatelogin being defined to take a username and password parameter, instead of just fetching globals out of midair. I still have problems with it; for one thing, if you're not passing parameters in, you've suddenly dictated the names of form fields (either that, or you make people set random variables in the global namespace just to check a login), and I just don't like the way phplib makes you subclass things just to change a parameter. I should be able to pass a parameter to the Auth_ip constructor to tell it what ips are valid, instead of having to change the class definition. -chuck -- Charles Hagenbuch, <[email protected]> "Live, from Washington, where the doctors were telling us what they did, and did not, do with Vice President Cheney." -Dan Rather