ID:               33477
 Updated by:       [EMAIL PROTECTED]
 Reported By:      spiderman_gtp at hotmail dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Network related
 Operating System: Win2K AS
 PHP Version:      5.0.4
 New Comment:

If it's not set then it's not set by the webserver.
Not PHP problem since PHP only fills the $_ENV variable with the
environment variables which actually are SET.





Previous Comments:
------------------------------------------------------------------------

[2005-06-26 01:58:43] spiderman_gtp at hotmail dot com

Description:
------------
$_ENV['REMOTE_ADDR'] returns the correct value of the IP of the remote
user,

$_ENV['REMOTE_PORT'] generates:

Notice: Undefined index: REMOTE_PORT in ...


Reproduce code:
---------------
see description .. i also tried $HTTP_ENV ... and $_SERVER and none
seem to work

Expected result:
----------------
expected to return the remote users port number

Actual result:
--------------
Notice: Undefined index: REMOTE_PORT in ...


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33477&edit=1

Reply via email to