php-general Digest 10 Jan 2013 18:25:20 -0000 Issue 8094

Topics (messages 320063 through 320063):

Expansion of Apache definitions
        320063 by: John Iliffe

Administrivia:

To subscribe to the digest, e-mail:
        php-general-digest-subscr...@lists.php.net

To unsubscribe from the digest, e-mail:
        php-general-digest-unsubscr...@lists.php.net

To post to the list, e-mail:
        php-gene...@lists.php.net


----------------------------------------------------------------------
--- Begin Message ---
I recently made a posting on the Apache users group regarding recovering 
the client IP address using the $_SESSION['REMOTE_ADDR'] function in PHP.

I received the following caveat from another developer:

-------------start quote--------------------
You may want to update that.

Since 2.4, apache makes the distinction between the the two different
REMOTE_ADDR candidates: the peer making the TCP connection,
and the client making the HTTP request.  In other words, the nearest
proxy and the end-user.  The latter is of course very easy to spoof,
but is nevertheless the one most applications want.
--------------end quote--------------------

Is there any development underway in PHP to have both of these addresses 
available in the $_SESSION global variable?  

Regards,

John

--- End Message ---

Reply via email to