#41133 [Opn->Bgs]: _SERVER['LOCAL_ADDR'] available in CGI not in ISAPI
| From: | tony2001@php.net | Date: | Wed, 18 Apr 2007 14:51:14 +0000 |
| Subject: | #41133 [Opn->Bgs]: _SERVER['LOCAL_ADDR'] available in CGI not in ISAPI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-111660@lists.php.net to get a copy of this message | ||
ID: 41133
Updated by: tony2001@php.net
Reported By: j dot deroij at e-density dot nl
-Status: Open
+Status: Bogus
Bug Type: IIS related
Operating System: Windows 2003
PHP Version: 5.2.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2007-04-18 14:31:28] j dot deroij at e-density dot nl
Description:
------------
I want to check the ip from the server
On windows with php as cgi module i can use _SERVER['local_addr']
but when i run php as isapi module this server var is gone.
This is very strange because local_addr is a IIS var, so is must be the
same thing for cgi and isapi or am i wrong?
Reproduce code:
---------------
$_SERVER['LOCAL_ADDR']
Expected result:
----------------
Ip of the server
Actual result:
--------------
doesn't exists
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=41133&edit=1