Re: get_browser();

From: Date: Mon, 18 Feb 2002 20:18:00 +0000
Subject: Re: get_browser();
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-85271@lists.php.net to get a copy of this message
> Ultimately, I'm trying to figure out how I can determine if the > user is using NS 4.x or not... Use this to identify Netscape 4.x: if(strstr($HTTP_USER_AGENT,"Mozilla/4") && !strstr($HTTP_USER_AGENT,"MSIE")){ // is Netscape 4 } else { // is something else } ------------------------------------------------------------------------ Greg Donald - http://destiney.com/ http://phprated.com/ | http://phplinks.org/ | http://phptopsites.com/ ------------------------------------------------------------------------

« previous php.general (#85271) next »