ID: 16679
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Closed
+Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows 2000
PHP Version: 4.2.0
New Comment:
yes, that's why we have the $_SERVER array,
as an abstraction Layer to Werbser APIs
variable access methods
CGI has to rely on process environment
variables for parameter passing, but most
server-module APIs have faster methods to
do this and usualy don't bother to set the
environment variables
Previous Comments:
------------------------------------------------------------------------
[2002-04-18 10:00:23] [EMAIL PROTECTED]
Not a bug...
I've just seen that this method is only available in CGI mode...
Sorry
------------------------------------------------------------------------
[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