Suggestion: auth_require()
| From: | Tobias Schlitt | Date: | Thu, 01 Jul 2004 09:46:02 +0000 |
| Subject: | Suggestion: auth_require() | ||
| Groups: | php.pear.webmaster | ||
| Request: | Send a blank email to pear-webmaster+get-2703@lists.php.net to get a copy of this message | ||
Hi all!
I'd suggest to implement a second, optional parameter to the auth_require()
function to give a hint, why authentication was required from the calling
code parts.
e.g.
auth_require('pear.dev', 'Only PEAR developers may view unapproved comments.');
What do you think?
Regards,
Toby
--
Tobias Schlitt GPG Key: 0xA6529579
a passion for php http://www.schlitt.info
Like to say "thank you"? - http://pear.php.net/wishlist.php/toby