IdentifiantMot de passe
Mot de passe oublié ?Je m'inscris ! (gratuit)
18.6.8 AbstractBasicAuthHandler Objects

18.6.8 AbstractBasicAuthHandler Objects

http_error_auth_reqed( authreq, host, req, headers)
Handle an authentication request by getting a user/password pair, and re-trying the request. authreq should be the name of the header where the information about the realm is included in the request, host specifies the URL and path to authenticate for, req should be the (failed) Request object, and headers should be the error headers.

host is either an authority (e.g. "") or a URL containing an authority component (e.g. ""). In either case, the authority must not contain a userinfo component (so, "" and "" are fine, "" is not).

See About this document... for information on suggesting changes.