> Possible values are:
>
> - php_auth_exposure=user
>   Only PHP_AUTH_USER is exposed.
>
> - php_auth_exposure=pw
>   Only PHP_AUTH_PW is exposed
>
> - php_auth_exposure=user,pw
>   Both PHP_AUTH_USER and PHP_AUTH_PW are exposeed

Moriyoshi, have you considered using constants here instead of strings?  For
example:

- php_auth_exposure=AUTH_EXPOSE_USER
  Only PHP_AUTH_USER is exposed.

- php_auth_exposure=AUTH_EXPOSE_PW
  Only PHP_AUTH_PW is exposed

- php_auth_exposure=AUTH_EXPOSE_USER | AUTH_EXPOSE_PW
  Both PHP_AUTH_USER and PHP_AUTH_PW are exposeed

It resembles the style used by error reporting, which will be less confusing
for novices.

Regards,
Leon


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to