#19840 [NEW]: I can't get the getenv("HTTP_USER_AGENT")

From: Date: Thu, 10 Oct 2002 02:02:21 +0000
Subject: #19840 [NEW]: I can't get the getenv("HTTP_USER_AGENT")
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22001@lists.php.net to get a copy of this message
From: alietss@yahoo.com Operating system: linux RedHat 8.0 PHP version: 4CVS-2002-10-09 PHP Bug Type: Apache2 related Bug description: I can't get the getenv("HTTP_USER_AGENT") Hi boys: I'm using Linux RedHat8.0 and httpd-2.0.40 from RedHat packages, I built php rpms for this plataform of the PHP-4.2.4-dev snapshot 09/10/2002 to solve a problem related to file_exists, now that problem is solved, I'm using register_global in On but when my scripts run something like this: getenv("HTTP_USER_AGENT") I don't get the value that this function return to me in the past PHP-4.2.3, I look the phpinfo() and I can't find this enviroment variable, rather I see a _SERVER["HTTP_USER_AGENT"] enviroment variable, but if I have register_global in On I should see this variable isn't it?? Well I hope this helps beacuse If don't I have to change a lot of code. Bye Aliet -- Edit bug report at http://bugs.php.net/?id=19840&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19840&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19840&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19840&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19840&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19840&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19840&r=support Expected behavior: http://bugs.php.net/fix.php?id=19840&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19840&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19840&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19840&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19840&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19840&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19840&r=isapi

« previous php.bugs (#22001) next »