[PHP] What is the syntax to get the HTTP_ENV_VARS?

2001-04-11 Thread Phil Labonte
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

Re: [PHP] What is the syntax to get the HTTP_ENV_VARS?

2001-04-11 Thread Yasuo Ohgaki
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" [EMAIL PROTECTED] wrote in message