Re: help with parse

From: Date: Wed, 04 Apr 2001 10:24:02 +0000
Subject: Re: help with parse
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-47007@lists.php.net to get a copy of this message
Hi, Renze Munnik wrote: > Have you ever checked the $HTTP_USER_AGENT value from IE? > > IE says: > > "Mozilla/4.0 (compatible; MSIE 5.01; Windows 95)" > (for example) > > So, you shouldn't be checking for Mozilla. IE says that to. You should first check for the existence of "IE" in $HTTP_USER_AGENT. If that doesn't exist, then and only then can you know that the browser is _not_ IE. -- Regards, Harshdeep Singh Jawanda.

« previous php.general (#47007) next »