It is possible to check via php whether the user has the flash plugin installed, if so, tell me how to check, as well as if the user still does not have a flash installed. How to display a flash animation to a user just as a picture. And then a lot of complaints that there is nothing, nothing happens and the site is clumsy.

  • It would exist in PHP - HTTP_USER_ACCEPT, then it would be possible! And so the comment above is quite suitable! - Palmervan
  • You can immediately put a picture and load Flash over it. Who is installed, he will see. - ling

4 answers 4

Directly via php is unlikely. I can advise you to take the code that Adobe embeds into the pages, javascript, it determines the presence of the plugin and initiates the installation process. For example, here . You will need to send your request, in accordance with the result of the detection. As far as I understand, you need to get the result of this function here - swfobject.embedSWF() . Especially not strong in javascript, correct if that.

    It is in all textbooks, and as a rule, they begin with this.

    The server does not know anything about the client, and is not obliged to know itself. All data about the user, he reports himself, and some data is erased from the parameters when connected. Simply put, everything that was sent in the headlines is true, even if it is absolutely not true.

    I solved this problem like this. Created iframe 0x0 px, and in it the USB stick. JS turned to her, and if they received an answer, they did not do anything; if no answer was received, we inform the client.

    But php, even in this case, is neither a dream nor a spirit, the flash is on or not.

    swfobject.embedSWF () is an option, but it does not guarantee that the flash works 100%. There is already a need to decide on the basis of the situation.

    • Join now. - Jakeroid

    Use javascript for this. I think that directly through PHP, it will not be easier than writing this in JS.

      use the <noscript> </ noscript> tag