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
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
2 matches
Mail list logo