Re: Re: get ip of visitors
| From: | Claudiu | Date: | Tue, 23 Apr 2002 08:48:24 +0000 |
| Subject: | Re: Re: get ip of visitors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94127@lists.php.net to get a copy of this message | ||
$ipaddr=getenv("REMOTE_ADDR");
Cam asta ar fi...
On Tue, 23 Apr 2002, Cosmin wrote:
> Ya I found
> $ip = gethostbyname($REMOTE_ADDR);
> Thanks anyway
>
> 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
>