Re: htaccess authenticate
| From: | 1LT John W. Holmes | Date: | Fri, 28 Jun 2002 14:12:06 +0000 |
| Subject: | Re: htaccess authenticate | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-104331@lists.php.net to get a copy of this message | ||
>I have a website with .htaccess authenticate.
>I want to get htaccess username and password and use them in .php page. Is
this possible?
$_SERVER['PHP_AUTH_USER'], $_SERVER['PHP_AUTH_PW'],
$_SERVER['PHP_AUTH_TYPE']
Chapter 17: http://www.php.net/manual/en/features.http-auth.php
RTM
---John Holmes...