#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    11
    Rep Power
    0
    Hi everybody,

    I would like to check for the existance of a flash plugin using PHP instead of JavaScript.
    Any ideas ?

    Thanks for helping!

    Andreas
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    24
    Rep Power
    0
    I might get corrected on this, but i dont think that is possible. you might be able to see if the server you are running your site on has flash, but since php is run on the server and flash is something on the client i dont think it will work. Why do you want to do it in php instead of javascript?
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    33
    Rep Power
    15
    I think I get why you want PHP instead of JS.

    Why don't you write a one-time Javascript that will put a cookie on the user's side if Flash is enabled, then have PHP check for that cookie and act accordingly?
    Stas
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    11
    Rep Power
    0
    <BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">quote:</font><HR>Originally posted by okhvatstas:
    I think I get why you want PHP instead of JS.

    Why don't you write a one-time Javascript that will put a cookie on the user's side if Flash is enabled, then have PHP check for that cookie and act accordingly?
    Stas
    [/quote]


    Good idea ! I will try that !

    Thanks to both of you !

    Andreas

Similar Threads

  1. dynamically created check boxes
    By wduffee in forum PHP Development
    Replies: 3
    Last Post: February 3rd, 2004, 02:10 PM
  2. Check boxes to join for check?
    By coverman in forum PHP Development
    Replies: 1
    Last Post: January 16th, 2004, 11:38 AM
  3. Applet plugin changes?
    By guma1 in forum Java Help
    Replies: 0
    Last Post: January 8th, 2004, 10:31 AM
  4. Do compilers optimize some / into *?
    By Jason Doucette in forum C Programming
    Replies: 46
    Last Post: December 25th, 2003, 09:47 PM
  5. called too early to check prototype at mediawrap.cgi
    By jenniefer in forum Perl Programming
    Replies: 4
    Last Post: December 20th, 2003, 09:37 AM

IMN logo majestic logo threadwatch logo seochat tools logo