Re: Reserved var for checking remote IP address
| From: | Daniel Brown | Date: | Wed, 16 Apr 2008 18:00:53 +0000 |
| Subject: | Re: Reserved var for checking remote IP address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-273105@lists.php.net to get a copy of this message | ||
On Wed, Apr 16, 2008 at 1:57 PM, Javier Huerta <jhuerta@northwestern.edu> wrote:
> Is there a reverved variable that can be used to check the remote IP address
> of the computer hitting your web page?
<?php
$_SERVER['REMOTE_ADDR'];
?>
--
</Daniel P. Brown>
Ask me about:
Dedicated servers starting @ $59.99/mo., VPS starting @ $19.99/mo.,
and shared hosting starting @ $2.50/mo.
Unmanaged, managed, and fully-managed!