Re: IP address

From: Date: Mon, 30 Oct 2000 22:31:31 +0000
Subject: Re: IP address
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-22766@lists.php.net to get a copy of this message
Check out : http://www.php.net/manual/language.variables.predefined.php http://hoohoo.ncsa.uiuc.edu/cgi/env.html You can "get" "any" of them by prepending a $ so in this case : $REMOTE_ADDR so : echo $REMOTE_ADDR; or getenv("REMOTE_ADDR"); I don't remember the benefits or reasons to use $ vs. getenv() perhaps someone else can shed light on this, that would be wonderful. Also see : http://www.php.net/manual/function.getenv.php It has useful information on this topic. Philip -- be outside the box. On Mon, 30 Oct 2000, Liam Gibbs wrote: > How do you get the IP address of the client? > > Liam Gibbs > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#22766) next »