![]() |
|
|
+ Search |
![]()
|
Feb 24th, 2000 11:19
Aubin Paul, Nathan Wallace, Rob
In PHP3, the username and password obtained from the http login are
available in $PHP_AUTH_USER and $PHP_AUTH_PW. You can either generate
the headers in PHP with:
Header(""WWW-Authenticate: Basic realm=\"My Realm\"");
Header("HTTP/1.0 401 Unauthorized");
or use an .htaccess file.