Re: $PHP_AUTH_USER
| From: | Rasmus Lerdorf | Date: | Thu, 22 Jun 2000 16:45:25 +0000 |
| Subject: | Re: $PHP_AUTH_USER | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-2652@lists.php.net to get a copy of this message | ||
> Sorry if this is a painfully stupid question but it's been a long day.
>
> If I do authentication with .htaccess would the $PHP_AUTH_USER still be
> available as a variable to other scripts on a CGI install of PHP?
Nope. .htaccess authentication is external to PHP. The standard
$REMOTE_USER variable is set by Apache. Nothing else.
-Rasmus