Re: Re: get ip of visitors
| From: | esivertsen | Date: | Tue, 23 Apr 2002 10:47:11 +0000 |
| Subject: | Re: Re: get ip of visitors | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94143@lists.php.net to get a copy of this message | ||
This variable contains the IP address of the visitor:
$HTTP_SERVER_VARS["REMOTE_ADDR"]
Best regards,
Eivind
----- Original Message -----
From: "Cosmin" <cosmin@grafx.ro>
To: <php-general@lists.php.net>
Sent: Tuesday, April 23, 2002 12:16 PM
Subject: [PHP] Re: get ip of visitors
> Thanks to all, very usefull samples
>
> Cosmin
>
>
> "Cosmin Vlasiu" <cosmin@grafx.ro> wrote in message
> news:007d01c1ea9d$9db78660$1300a8c0@grafx.ro...
> Hello,
> How can I take the IP of the visitator of my php page?
> not gethostbyname...
> I need the ip of any visitator not for the specified visitator.
>
> Thank you
>
> Cosmin
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>