Bug #16679: getenv() function may not work properly
| From: | royerj at free dot fr | Date: | Thu, 18 Apr 2002 13:52:16 +0000 |
| Subject: | Bug #16679: getenv() function may not work properly | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-5295@lists.php.net to get a copy of this message | ||
From: royerj@free.fr
Operating system: Windows 2000
PHP version: 4.2.0
PHP Bug Type: Unknown/Other Function
Bug description: getenv() function may not work properly
When i tried to call the getenv("SERVER_ADDR") method, the return is an
empty string.
I know that I can use $_SERVER["SERVER_ADDR"] but I must use the getenv()
method.
--
Edit bug report at http://bugs.php.net/?id=16679&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16679&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16679&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16679&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16679&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16679&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16679&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16679&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16679&r=submittedtwice