note 10348 added to getenv

From: Date: Fri, 29 Dec 2000 13:13:51 +0000
Subject: note 10348 added to getenv
Groups: php.notes 
Request: Send a blank email to php-notes+get-9172@lists.php.net to get a copy of this message
This gives you the right ip: if (getenv(HTTP_CLIENT_IP)){ $ip=getenv(HTTP_CLIENT_IP); } else { $ip=getenv(REMOTE_ADDR); } http://www.php.net/manual/function.getenv.php

« previous php.notes (#9172) next »