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
1B5C7FA9D60DD511ABEF00508BFDEFDC106A@EXCHANGE">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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[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 List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]