Bug #16679 Updated: getenv() function may not work properly
| From: | royerj at free dot fr | Date: | Thu, 18 Apr 2002 14:00:24 +0000 |
| Subject: | Bug #16679 Updated: getenv() function may not work properly | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-5297@lists.php.net to get a copy of this message | ||
ID: 16679
Updated by: royerj@free.fr
Reported By: royerj@free.fr
-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] royerj@free.fr
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