RE: [PHP] IP Addresses in PHP
| From: | Christensen, BruceX R | Date: | Tue, 08 Aug 2000 23:47:14 +0000 |
| Subject: | RE: [PHP] IP Addresses in PHP | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-10805@lists.php.net to get a copy of this message | ||
Check the results of the phpinfo() command. It will show you the user's IP
address (which you retrieve using getenv("REMOTE_ADDR")), as well as many
other useful things.
--Bruce
Bruce Christensen
Intel Corporation
brucex.r.christensen@intel.com
-----Original Message-----
From: Joseph Potenza [mailto:jpotenza@optonline.net]
Sent: Tuesday, August 08, 2000 4:39 PM
To: php-general@lists.php.net
Subject: [PHP] IP Addresses in PHP
Hello,
I was wondering if it is possible to get a user's IP address with PHP.
I know there are functions to resolve IP -> name and name -> IP, but I
didn't find one to actually GET the IP of the client.
Thanks
Jay Potenza
--
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