Re: What is the syntax to get the HTTP_ENV_VARS?

From: Date: Thu, 12 Apr 2001 01:22:33 +0000
Subject: Re: What is the syntax to get the HTTP_ENV_VARS?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-48224@lists.php.net to get a copy of this message
Did you read PHP Manual? If you don't read online manual, I suggest to read it. Annotated manual is very useful. http://www.php.net/manual/en/language.variables.external.php Regards, -- Yasuo Ohgaki "Phil Labonte" <plabonte@atreus-systems.com> wrote in message news:1B5C7FA9D60DD511ABEF00508BFDEFDC106A@EXCHANGE... > > I want to get the hostname from the browsers that access my site. > > What is the syntax to use with the HTTP_ENV_VARS? > > mysql_query("INSERT INTO weblog(ip, hostname, port, time) " . " \ > VALUES('$REMOTE_ADDR', '$HTTP_ENV_VARS....', '$REMOTE_PORT', \ > '$time')"); > > Thanks! > > -- > 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 (#48224) next »