On Wednesday 19 September 2001 11:37, Andrew Semark wrote:

$addr = getenv('REMOTE_ADDR');

> Can anybody tell me how to get the IP address of the remote machine looking
> at the web page.  I have two versions of PHP 4 On the box with version
> 4.0.1 I can use $HTTP_SERVER_VARS["REMOTE_ADDR"], but on the other server
> running 4.0.0 this don't work. Is there another way of doing this as it's
> not possible to upgrade this server.
> Thank
> Andy

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to