Re: getenv & $REMOTE_ADDR

From: Date: Wed, 20 Feb 2002 20:42:55 +0000
Subject: Re: getenv & $REMOTE_ADDR
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85588@lists.php.net to get a copy of this message
What is the difference between $_SERVER and getenv()? Why should one be more reliable/better than the other?
Better: avoid globals and use $_SERVER['REMOTE_ADDR'].
Sorry, if I'm asking you to repeat yourself... the documentation doesn't relate the two. Steven J. Walker Walker Effects www.walkereffects.com steve@walkereffects.com

« previous php.general (#85588) next »