Re: Getting a client's IP address
| From: | Chris Lee | Date: | Tue, 16 Oct 2001 17:35:34 +0000 |
| Subject: | Re: Getting a client's IP address | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71241@lists.php.net to get a copy of this message | ||
$REMOTE_ADDR
--
Chris Lee
lee@mediawaveonline.com
"Brian Aitken" <b.aitken@hatii.gla.ac.uk> wrote in message
news:20011016104158.58584.qmail@pb1.pair.com...
> Hiya
>
> Anyone know if it's possible to get the client's IP address?
>
> What I'm wanting to do is be able to differentiate between users accessing
> the system from the local intranet and users accessing the system from
> anywhere else.
>
> I've looked through the documentation and the only thing I could find was
a
> user note that says:
>
> "I filed a wishlist bug because I do not see any way to get the IP address
> of the client."
>
> Anyone know if this is the case and if so is there another way to limit
> access to local users?
>
> Thanks
>
> Brian
>
>