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" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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: [EMAIL PROTECTED]
> website: www.sed.is
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to