Getting IP address
| From: | Andrew Semark | Date: | Wed, 19 Sep 2001 09:37:41 +0000 |
| Subject: | Getting IP address | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-67804@lists.php.net to get a copy of this message | ||
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