From: [EMAIL PROTECTED] 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