Re: Logging users' plugins - Apache on Linux
by "peter newton" <c-newton(at)ihug.co.nz>
|
Date: |
Wed, 9 May 2001 12:43:09 +1200 |
To: |
<hwg-techniques(at)hwg.org> |
References: |
webbox |
|
todo: View
Thread,
Original
|
|
Try this for starters
1) go to
http://javascript.internet.com/
you will see a box listing catagories for javascript scripts
2) On the right click on user-details.
3) Go down the list a bit and you will see about 3 scripts doing just
what you want.
Finally as already mentioned use this info to create an image link to a cgi
script with the info on it like so:-
document.write "<img
src=\"http://yoursite.com/yourdir/cgiscript.cgi?"+plugin1+" "+plugin2+"\"
height=1 width=1>"
where plugin1 etc are variables created by your javascript.
.Then the cgi script can look at that info and respond (remember to send a
1pixel transparent image back to the script)
to view these details with a cgi script running on the server would look
something like this:-
#!/usr/bin/perl
if ($ENV{'QUERY_STRING'}) {
$qstring = $ENV{'QUERY_STRING'};
#extract your info from the string here
}else { #No pluggins found
}
Hope this helps.
Peter Newton
> Hello all,
>
> A company I'm working with is thinking about creating some animations
> to display how their products work. We have a number of choices
> for the target format - QuickTime, Flash, etc., etc.
>
> What I'd like to do is try to avoid having the users download
> YET ANOTHER PLUGIN - so, I'd like to try to find out what they've
> got so we can use that information in our decision. Does anyone
> know how to get Apache on Cobalt Linux to log the plugins a user
> has?
>
> Suggestions for alternative approaches are welcome. TIA ...
>
>
>
>
HWG hwg-techniques mailing list archives,
maintained by Webmasters @ IWA