Re: get_browser();

From: Date: Mon, 18 Feb 2002 20:16:52 +0000
Subject: Re: get_browser();
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85268@lists.php.net to get a copy of this message
On Monday, February 18, 2002, at 12:47 PM, Chris Boget wrote:
Isn't working as described in the example output provided on the page. In fact, half the time, get_browser() is returning nothing. And HTTP_USER_AGENT is only returning: Mozilla/4.7 [en] (Win95; I) for Netscape. Why isn't it (get_browser()) providing all the information as displayed in the example provided in the docs? Ultimately, I'm trying to figure out how I can determine if the user is using NS 4.x or not...
Hm. I don't have the exact answer to your question, but keep in mind that this kind of information depends on the user-agent -- you're not guaranteed to get any information, as some user-agents handle headers in nonconformant ways. Erik ---- Erik Price Web Developer Temp Media Lab, H.H. Brown pricee@hhbrown.com

« previous php.general (#85268) next »