Plug-in detection<

liunx

Guest
Hi there,
I was wondering if anyone had any experience with plugin detection.

I want to find out what plugins my users have. The plugins I am interested in are:

JavaScript
Flash
Shockwave
Real Player
Windows Media
Quick time
PDF

Would it be possible to detect what people have and send the results to a secure page so I know what percentage have what plugins?

Any help much apreciated.

GregOriginally posted by Code junkie
Hi there,
I was wondering if anyone had any experience with plugin detection.

I want to find out what plugins my users have. The plugins I am interested in are:

JavaScript
Flash
Shockwave
Real Player
Windows Media
Quick time
PDF

Would it be possible to detect what people have and send the results to a secure page so I know what percentage have what plugins?

Any help much apreciated.

Greg

I believe for most of those you'll have to use javascript to detect.For example,to my knowlege you can't check for Flash,Shockwave,Realplayer,WindowsMedia,QuickTime or PDF(without tring to render a pdf file in php) ...soo...I guess that leaves javascript:


<!-- m --><a class="postlink" href="http://ca3.php.net/manual/en/function.get-browser.php">http://ca3.php.net/manual/en/function.get-browser.php</a><!-- m -->


probably not the answer you were hoping for :(correct me if I am wrong but javascript is not a plug-in and the only ones you can find would be flash/shockwave.

if they don't have the pdf plug-in it will just donwload the file. not sure about the media player.Originally posted by scoutt
correct me if I am wrong but javascript is not a plug-in and the only ones you can find would be flash/shockwave.

if they don't have the pdf plug-in it will just donwload the file. not sure about the media player.

yeah..javascript isn't a plugin....but it can be enabled/disabled...so it can be generalized similarly as to rather or not a plugin is installed.but you can't detect that unless you run some javascript code, correct?Originally posted by scoutt
but you can't detect that unless you run some javascript code, correct?

As far as I know,get_browser(); will return rather or not it's enabled...I havn't tested it...so I can't confirm.no get_browser return the browser string and tha tinfo is not in it.
 
Back
Top