Re: PHP 4.0 Bug #2896 Updated: getenv("HTTP_USER_AGENT")returnsan empty string

From: Date: Sat, 18 Mar 2000 15:17:51 +0000
Subject: Re: PHP 4.0 Bug #2896 Updated: getenv("HTTP_USER_AGENT")returnsan empty string
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-16989@lists.php.net to get a copy of this message
: The environment variables are copied into $HTTP_ENV_VARS[], since they : don't necessarily have anything to do with the server... That means a version which uses $HTTP_SERVER_VARS will break when used as CGI..... ? <cut> : > : > Well, there might be a compability problem if you use the hash : > $HTTP_SERVER_VARS, as I just checked that in the CGI version, : > you don't copy the env structure into the hash...... can this be added? : > Faisal

« previous php.dev (#16989) next »