Re: HTTP_ACCEPT - Reliabilty?

From: Date: Tue, 14 Jan 2003 10:39:02 +0000
Subject: Re: HTTP_ACCEPT - Reliabilty?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-131530@lists.php.net to get a copy of this message
Hi, No, I wouldn't rely on it at all, I couldn't find a browser that *does* have that mime-type in it's header! - Here's what IE6 sends : Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, */* Accept-Language: en-gb Accept-Encoding: gzip, deflate Flash, along with a multitude of other plugins, is installed and working fine. FWIW, Mozilla 1.3a sends: Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q= 0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1 Accept-Language: en-us,en;q=0.5 Accept-Encoding: gzip,deflate,compress;q=0.9 Opera 7 sends: Accept: text/html, image/png, image/jpeg, image/gif, image/x-xbitmap, */*;q=0.1 Accept-Language: en Accept-Encoding: deflate, gzip, x-gzip, identity, *;q=0 ----- Original Message ----- From: "SED" <sed@sed.is> To: <php-general@lists.php.net> Sent: Tuesday, January 14, 2003 10:22 AM Subject: [PHP] HTTP_ACCEPT - Reliabilty? > I'm using Flash very often within websites. Like you know, sometimes the > user doesn't have the Flash-plug-in so I was wandering if I could depend > on this $_SERVER['HTTP_ACCEPT'] variable to look for "shockwave-flash". > If found, the visitor has Flash-plugging, if not, he doesn't. > > So my question really is, can I base my Flash-detection on this global > variable or is too uncertain? (e.g. when the user is using Netscape, > Opera etc., Linux, Mac etc.) > > Regards, > Sumarlidi E. Dadason > > SED - Graphic Design > _________________________________ > E-mail: sed@sed.is > website: www.sed.is > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#131530) next »