Re: $HTTP_SERVER_VARS["HTTP_PC_REMOTE_ADDR"] returns no value
| From: | jeffrey_n_Dyke at Keane dot com | Date: | Wed, 29 Oct 2003 15:01:28 +0000 |
| Subject: | Re: $HTTP_SERVER_VARS["HTTP_PC_REMOTE_ADDR"] returns no value | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-general+get-168008@lists.php.net to get a copy of this message | ||
i think you're wanting to use.....$_SERVER['REMOTE_ADDR'] or
$HTTP_SERVER_VARS["REMOTE_ADDR"]
unless there is another one...but i see no such entry in my phpinfo()
hth
Jeff
Randall Perry
<rgp@systame.com> To: <php-general@lists.php.net>,
<php-install@lists.php.net>
cc:
10/29/2003 09:53 Subject: [PHP-INSTALL]
$HTTP_SERVER_VARS["HTTP_PC_REMOTE_ADDR"] returns no value
AM
Want to grab the client IP after client agrees to a contract, but am
getting
no value from the $HTTP_SERVER_VARS["HTTP_PC_REMOTE_ADDR"] var.
Anyone know why this might happen?
--
Randall Perry
sysTame
Xserve Web Hosting/Co-location
Website Development/Promotion
Mac Consulting/Sales
http://www.systame.com/