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

From: Date: Mon, 18 Mar 2002 16:01:31 +0000
Subject: RE: [PHP] How to get the IP of a visitor
Groups: php.general 
Request: Send a blank email to php-general+get-88946@lists.php.net to get a copy of this message
Good day, You'll need to check the documentation of your web server for that (or post on the appropriate list). You can use the phpinfo() function to see all of the environment values that PHP sees. Off the top of my head, I think Apache stores it in REMOTE_IP . ============================ Darren Gamble Planner, Regional Services Shaw Cablesystems GP 630 - 3rd Avenue SW Calgary, Alberta, Canada T2P 4L4 (403) 781-4948 -----Original Message----- From: Ulrik Witschass [mailto:uw@bitworker.de] Sent: Monday, March 18, 2002 9: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

« previous php.general (#88946) next »