RE: [PHP] NS4.x / IE3.0 Browser Detection

From: Date: Tue, 20 Aug 2002 14:35:30 +0000
Subject: RE: [PHP] NS4.x / IE3.0 Browser Detection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-113328@lists.php.net to get a copy of this message
HTTP_USER_AGENT returns platform info as well doesn't it...?? > -----Original Message----- > From: Andre Dubuc [mailto:aajdubuc@webhart.net] > Sent: Tuesday, August 20, 2002 10:10 AM > To: php-general@lists.php.net > Subject: [PHP] NS4.x / IE3.0 Browser Detection > > > I need to differentiate between different versions of NS4, particularly > the ones that are used by Mac. So far, I've used the following to detect > variants: > > if(eregi("(Mozilla/4.[0-8][0-9])",$_SERVER['HTTP_USER_AGENT'])) > > However, I'm aware that it will not distinguish between PC and > Mac-based NS4. > My question is: what versions of NS (if any) do Mac's use? I've used the > following to detect IE3.0 users: > > if(eregi("(mozilla/3.0)",$_SERVER['HTTP_USER_AGENT'])) > > Is this correct? > > Any insights or advice most welcome. > Tia, > Andre > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#113328) next »