RE: [PHP] How to get IP address

From: Date: Wed, 06 Dec 2000 14:31:36 +0000
Subject: RE: [PHP] How to get IP address
Groups: php.general 
Request: Send a blank email to php-general+get-28906@lists.php.net to get a copy of this message
There is an environment variable for this: $REMOTE_ADDR This will give you the IP address of the person visiting. $REMOTE_HOST will give you the dns name (if it is available) Obviously, $REMOTE_ADDR will only five you the IP address of a proxy server (or NAT router) if one is being used by the client. /Patrick -----Original Message----- From: Hendry Sumilo [mailto:hsumilo@hotmail.com] Sent: 06 December 2000 14:22 To: php-general@lists.php.net Subject: [PHP] How to get IP address Dear everyone I just want to know how to get someone's IP address when they login to our website? Although this does not help so much for security,but we just want to keep it for reference. Where can i refer more about security? Thank you very much Sincerely yours Hendry Sumilo ____________________________________________________________________________ _________ Get more from the Web. FREE MSN Explorer download : http://explorer.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#28906) next »