RE: [PHP-WIN] Capturing IP Address
| From: | Rich Gray | Date: | Wed, 28 Aug 2002 12:44:05 +0000 |
| Subject: | RE: [PHP-WIN] Capturing IP Address | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-15563@lists.php.net to get a copy of this message | ||
Be warned that this will return the IP of any proxy or cacheing server being
used. If that is the case then you can also check
$_SERVER['HTTP_X_FORWARDED_FOR'] for the client IP address and this may also
contain multiple comma separated addresses...
Rich
-----Original Message-----
From: Richard Black [mailto:rblack@datavisibility.co.uk]
Sent: 28 August 2002 13:14
To: 'James Meers'; php-windows@lists.php.net
Subject: RE: [PHP-WIN] Capturing IP Address
_SERVER["REMOTE_ADDR"]
==========================================
Richard Black
Systems Programmer, DataVisibility Ltd - http://www.datavisibility.com
Tel: 0141 435 3504
Email: rblack@datavisibility.co.uk
-----Original Message-----
From: James Meers [mailto:jambo@venda.com]
Sent: 28 August 2002 13:06
To: php-windows@lists.php.net
Subject: [PHP-WIN] Capturing IP Address
How would I capture the IP address of a user coming to my site and then,
putting that information into a database?
Jambo
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php