note 35163 deleted from function.getenv by vincent

From: Date: Thu, 21 Aug 2003 18:36:27 +0000
Subject: note 35163 deleted from function.getenv by vincent
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-54834@lists.php.net to get a copy of this message
Note Submitter: Bob Hyfan ---- PHP 4.1.2 + Win2K IIS5 getenv("REMOTE_ADDR") didn't work. getenv("HTTP_CLIENT_IP getenv("HTTP_X_FORWARDED_FOR $HTTP_REMOTE_ADDR All these above did not either. Return nothing. Is there any config I should change on IIS or any solution for this function? I need to log user's ip for security reason. Thanks.

« previous php.notes (#54834) next »