The following code snippet was copied from
http://javascript.internet.com/miscellaneous/check-mimes.html
Looking at it, I guess that it only works with Netscape.
Maybe for a less UA specific solution you could have a start page that
contains a small flash movie that redirects the user to the flash enhanced
version of your site.
If they aren't redirected then they don't have a flash enabled UA: redirect
them to a standard HTML version of your site.
Regards,
Simon.
<!-- ONE STEP TO INSTALL CHECK MIMES:
1. Add the specified coding into the BODY of your HTML document -->
<!-- STEP TWO: Put this code into the BODY of your HTML document -->
<BODY>
<CENTER>
<SCRIPT LANGUAGE="JavaScript">
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!! http://javascript.internet.com -->
<!-- Begin
document.writeln("<TABLE BORDER=1><TR VALIGN=TOP>",
"<TH ALIGN=left>i",
"<TH ALIGN=left>type",
"<TH ALIGN=left>description",
"<TH ALIGN=left>suffixes</TR>")
for (i=0; i < navigator.mimeTypes.length; i++) {
document.writeln("<TR VALIGN=TOP><TD>",i,
"<TD>",navigator.mimeTypes[i].type,
"<TD>",navigator.mimeTypes[i].description,
"<TD>",navigator.mimeTypes[i].suffixes,
"</TR>")
}
document.writeln("</TABLE>")
// End -->
</SCRIPT>
</CENTER>
<p><center>
<font face="arial, helvetica" size="-2">Free JavaScripts provided<br>
by <a href="http://javascriptsource.com">The JavaScript Source</a></font>
</center><p>
<!-- Script Size: 0.87 KB -->
> -----Original Message-----
> From: AJDIN BRANDIC [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, March 28, 2001 14:46
> To: elias
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Active-X
>
>
> Thanks Elias but have you got a url that I could look at.
> I have tried www.javascript.com and www.javascripts.com but could not
> find anything.
>
> Ajdin
... snip ...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]