[PHP] Help!! IP functions!!!

2001-02-19 Thread Bruno Freire

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

Thanks!!
Bruno.



Re: [PHP] Help!! IP functions!!!

2001-02-19 Thread Jason Cox

Use the variable $REMOTE_ADDR.  It contains the request ip address.

Jason

- Original Message - 
From: "Bruno Freire" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 19, 2001 12:34 PM
Subject: [PHP] Help!! IP functions!!!


 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
 
 Thanks!!
 Bruno.
 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Help!! IP functions!!!

2001-02-19 Thread Martin A. Marques

Mensaje citado por: Bruno Freire [EMAIL PROTECTED]:

 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... :-)

Martn Marqus

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]