Hello Adrian,

Tuesday, August 07, 2001, 12:25:25 PM, you wrote:

ADC> Hi,

ADC> I am trying to get the ip address of any user browsing a particular page.

ADC> I tried $REMOTE_ADDR but that give me only the remote address.  What would
ADC> be the best way?

When you recieve a remote_host_name you can find out a ip with
gethostbyname(String name_recieved)

I hope it helps

-- 
Best regards,
 Daniel                            mailto:[EMAIL PROTECTED]



-- 
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]

Reply via email to