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 > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php