RE: [PHP] How to get the IP of a visitor

From: Date: Mon, 18 Mar 2002 15:13:33 +0000
Subject: RE: [PHP] How to get the IP of a visitor
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-88951@lists.php.net to get a copy of this message
$HTTP_SERVER_VARS['REMOTE_ADDR'] getenv("REMOTE_ADDR") $REMOTE_ADDR ... there are others too On the same topic, what do you folks think is the best way? meaning most cross-platform functional, fastest (if at all important for this), anything else that could help make a decision. Sean -----Original Message----- From: Drew Lopucki [mailto:drewlopucki@yahoo.com] Sent: Monday, March 18, 2002 12:08 PM To: Ulrik Witschass; php-general@lists.php.net Subject: RE: [PHP] How to get the IP of a visitor use <? phpinfo() ?>. you'll see all the variable in the http request header. -----Original Message----- From: Ulrik Witschass [mailto:uw@bitworker.de] Sent: Monday, March 18, 2002 11:57 AM To: php-general@lists.php.net Subject: [PHP] How to get the IP of a visitor Hi, I am new to this list and to PHP, so please excuse any newbie questions :) Want I need to know is how to get either the ISP or the IP of the visitor of a page. I guess this is a environment variable, but I don't know which. Any help is greatly appreciated :) Thanx! Ulrik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#88951) next »