Re: Setting Enviromental variables
| From: | Richard Lynch | Date: | Fri, 16 Feb 2001 00:35:21 +0000 |
| Subject: | Re: Setting Enviromental variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40033@lists.php.net to get a copy of this message | ||
> I know that by using the header you can bring up a standard user
> authenication dialog box, that sets the EVs:
> $PHP_AUTH_USER
> $PHP_AUTH_PW
>
> But is it possible to use a custom form to set these variables manually
for
> site wide useage?
No.
The browser sends those variables on each page hit, and PHP will over-write
your settings with those from the browser.
Use different variable names.
You *can* set environment variables, of course, just don't call 'em
PHP_AUTH_USER.
http://php.net/setenv
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm