#19951 [NEW]: getenv() returns nothing

From: Date: Thu, 17 Oct 2002 12:20:58 +0000
Subject: #19951 [NEW]: getenv() returns nothing
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22654@lists.php.net to get a copy of this message
From: sh@proofex.com Operating system: Red Hat 8.0 PHP version: 4.2.2 PHP Bug Type: Variables related Bug description: getenv() returns nothing I run Apache 2.0.40 and PHP 3.22 under Red Hat 8.0. When i try to read the HTTP_HOST-Name with the getenv()-function, then the functions return an empty string. When i use the $GLOBAL-array i can read the http-hostname correctly. Geetings, Stephan Hartz -- Edit bug report at http://bugs.php.net/?id=19951&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=19951&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=19951&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=19951&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=19951&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=19951&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=19951&r=support Expected behavior: http://bugs.php.net/fix.php?id=19951&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=19951&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=19951&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=19951&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19951&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=19951&r=dst IIS Stability: http://bugs.php.net/fix.php?id=19951&r=isapi

« previous php.bugs (#22654) next »