Re: $HTTP_USER_AGENT
| From: | Philip Olson | Date: | Thu, 13 Jun 2002 19:22:39 +0000 |
| Subject: | Re: $HTTP_USER_AGENT | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-102030@lists.php.net to get a copy of this message | ||
The php directive register_globals = on is what
creates $HTTP_USER_AGENT and all vars from various
places, such as GET, POST, COOKIE, SERVER, etc.
If register_globals = off, $HTTP_USER_AGENT won't
automagically exist. See this faqt for related
information:
http://www.faqts.com/knowledge_base/view.phtml/aid/31
Regards,
Philip Olson
On Thu, 13 Jun 2002, Webmaster do Aborla.net wrote:
> Hello,
>
> Why $HTTP_USER_AGENT don't work?? I can't get it's value, but in phpinfo the
> value appears. why this???
>
>
> Thanking in advance,
> Nuno Lopes
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>