ID: 12320
Updated by: hholzgra
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Bogus
Bug Type: IIS related
Operating System: Win 2K
PHP Version: 4.0.6
New Comment:

because $HTTP_SERVER_VARS is protable across server APIs
(although not every variable in it is set by every API)
while getenv() is specific to only some of them

remember that gentenv() is a generic environment access
function and as such OS-dependant (on some operating
systems you might even have no such environment at all)

Previous Comments:
------------------------------------------------------------------------

[2001-07-23 11:36:53] [EMAIL PROTECTED]

Hi !

The combination of Win2K and IIS5 seams to prevent the nice function getenv to return 
values. Infos like 'SERVER_SOFTWARE' and so are correctly stored in $HTTP_SERVER_VARS, 
but why shoul I have 2 access the infos directly via an awfull code like  $x= 
$GLOBALS[]... if I got an getenv-function ...

regards stefan


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=12320&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to