--- "K.C.P. van Zijl" <[EMAIL PROTECTED]> wrote:
> Is it possible in PHP to determine the IP address
> of a server which is requesting a page from my own
> server? When I use $REMOTE_ADDR, I get the wrong IP
> address. In that case I get the IP address of a
> person who is requesting the page on that other
> server.

$_SERVER['REMOTE_ADDR'] is the IP address of the requesting
client, whether it is an HTTP proxy, a person's PC, or
another Web server playing the role of an Web client. My
guess is that you are wrong about who is requesting what.

Chris

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to