Bug #16679 Updated: getenv() function may not work properly
ID: 16679 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: Unknown/Other Function Operating System: Windows 2000 PHP Version: 4.2.0 New Comment: Not a bug... I've just seen that this method is only available in CGI mode... Sorry Previous Comments: [2002-04-18 09:52:16] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=16679&edit=1
Bug #16679: getenv() function may not work properly
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