Re: $PHP_AUTH_USER, $PHP_AUTH_PW and $PHP_AUTH_TYPE
| From: | Ray Black III | Date: | Tue, 23 May 2000 15:58:01 +0000 |
| Subject: | Re: $PHP_AUTH_USER, $PHP_AUTH_PW and $PHP_AUTH_TYPE | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-369@lists.php.net to get a copy of this message | ||
This might not be much help, but call php_info() and see if you have
mod_auth installed in Apache. Not sure if mod_setenvif needs to be set as
well, but it's installed on mine and the $PHP_AUTH_USER stuff works...
-r3-
----- Original Message -----
From: Andrés Gracia Torralbo <ender@fuev.adeit.uv.es>
To: <php-general@lists.php.net>
Sent: Tuesday, May 23, 2000 11:40 AM
Subject: [PHP-GENERAL] $PHP_AUTH_USER, $PHP_AUTH_PW and $PHP_AUTH_TYPE
> Hi!!!
>
> I'm trying to set the $PHP_AUTH_USER and $PHP_AUTH_PW
> environment variables with putenv(), but it does not work.
> I'm using php as an apache module and I don't know how to
> set this variables. It's possible to set them with
> $PHP_AUTH_USER=value, etc, but then php does not recognize
> them as environmental variables and I cannot get them from
> other script. Somebody knows how to set this variables in a
> php script?
>
> Zanx
>
> Ender
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net