Accessing HTTP_PC_REMOTE_ADDR var fails sporadically

From: Date: Tue, 14 Oct 2003 14:51:18 +0000
Subject: Accessing HTTP_PC_REMOTE_ADDR var fails sporadically
Groups: php.general 
Request: Send a blank email to php-general+get-166074@lists.php.net to get a copy of this message
After a user submits a contract form I grab their IP from $HTTP_SERVER_VARS["HTTP_PC_REMOTE_ADDR"] and then email the info. This works sometimes, and sometimes I get a blank value for $HTTP_SERVER_VARS["HTTP_PC_REMOTE_ADDR"]. Anyone know why this might happen? Should I be using a different global var to grab a user's IP? -- Randall Perry sysTame Xserve Web Hosting/Co-location Website Development/Promotion Mac Consulting/Sales http://www.systame.com/

« previous php.general (#166074) next »