Re: Help!! IP functions!!!
| From: | Martin A. Marques | Date: | Mon, 19 Feb 2001 20:26:44 +0000 |
| Subject: | Re: Help!! IP functions!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-40627@lists.php.net to get a copy of this message | ||
Mensaje citado por: Bruno Freire <bruno@fujinor.com.br>:
> Hi!!
>
> My name is Bruno, From Brazil!!!
>
> I need to know how can i discovery the ip address when somebody access
> my
> home page!!!!
>
> What function can I use????
Bruno, check the phpinfo() function, which will give you lots of information
about variables that are passed from the browser to the server.
I think that HTTP_SERVER_VARS["REMOTE_ADDR"] is what you're looking for.
Saludos... :-)
Martín Marqués