note 10348 deleted from function.getenv by sander

From: Date: Sun, 07 Apr 2002 12:43:29 +0000
Subject: note 10348 deleted from function.getenv by sander
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-28899@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); }

« previous php.notes (#28899) next »