Re: Grab and print user's IP address
| From: | Dream | Date: | Mon, 12 Mar 2001 11:21:43 +0000 |
| Subject: | Re: Grab and print user's IP address | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-5958@lists.php.net to get a copy of this message | ||
thanks
This is for sure the user information (i.e. people visiting my site) not
mine, right?
marc
""Michael Rudel"" <mru@suchtreffer.de> escribió en el mensaje
news:001901c0aae6$33cac2a0$2c00a8c0@suchtreffer.de...
> <?php
> echo "Remote IP: ".$REMOTE_ADDR."<BR>\n";
> echo "Browser: ".$HTTP_USER_AGENT."<BR>\n";
> ?>
>
> If you want to get more EnvVars, RTFM or use
> the phpinfo() -function.
>
> Greetinx,
> Mike
>
> -----Original Message-----
> From: Dream [mailto:not@via.ble]
> Sent: Monday, March 12, 2001 12:01 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Grab and print user's IP address
>
>
> > Hi!
> >
> > I need just a little script so I can get and print in browser the
> currently
> > users IP address and if possible, browser type, etc.
> >
> > Thanks a lot!
> >
> > marc
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>