Getting users IP address into a variable.
| From: | Webmaster MBTRADINGCO | Date: | Wed, 02 Oct 2002 17:08:24 +0000 |
| Subject: | Getting users IP address into a variable. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-118612@lists.php.net to get a copy of this message | ||
I'm sure there has to be a way to verify which IP address is accessing
from. I need to establish a page where when I enter it records the IP
address I'm logging in from, to a database.
Problem is I can't seem a command in php that can assign that to a
variable, as in:
$ip=HTTP_GET_????
ANY IDEAS????
Thanks
Elliot J. Balanza