RE: [PHP] Active-X

From: Date: Wed, 28 Mar 2001 14:36:30 +0000
Subject: RE: [PHP] Active-X
Groups: php.general 
Request: Send a blank email to php-general+get-45906@lists.php.net to get a copy of this message
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:abrandic@coventry.ac.uk] > Sent: Wednesday, March 28, 2001 14:46 > To: elias > Cc: php-general@lists.php.net > 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 ...

« previous php.general (#45906) next »