Re: Getting users IP address into a variable.
| From: | Rasmus Lerdorf | Date: | Wed, 02 Oct 2002 16:12:43 +0000 |
| Subject: | Re: Getting users IP address into a variable. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118613@lists.php.net to get a copy of this message | ||
$REMOTE_ADDR
On Wed, 2 Oct 2002, Webmaster MBTRADINGCO wrote:
> I'm sure there has to be a way to verify which IP address is accessing
> from. I need to establish a page where when I enter it records the IP
> address I'm logging in from, to a database.
>
> Problem is I can't seem a command in php that can assign that to a
> variable, as in:
>
> $ip=HTTP_GET_????
>
> ANY IDEAS????
>
> Thanks
>
>
> Elliot J. Balanza
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>