What is the syntax to get the HTTP_ENV_VARS?

From: Date: Wed, 11 Apr 2001 19:58:35 +0000
Subject: What is the syntax to get the HTTP_ENV_VARS?
Groups: php.general 
Request: Send a blank email to php-general+get-48197@lists.php.net to get a copy of this message
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!

« previous php.general (#48197) next »