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                                                    
                                                 
                      <[EMAIL PROTECTED]>        To:       <[EMAIL PROTECTED]>, 
<[EMAIL PROTECTED]>                       
                                               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/

Reply via email to