Check for Flash Plugin with PHP?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
partiallynothing
Forum Commoner
Posts: 61
Joined: Fri Nov 21, 2003 5:02 pm
Location: connecticut, usa

Check for Flash Plugin with PHP?

Post by partiallynothing »

Is there any way to check for the flash plugin with php.

On thing that is very important is for me to find out the verion, as I need users to have version 7 to view the site.

If knowone can think of a php way to do this, I *do* know how to do it with javascrpt, *but* I would need to pass variables from JavaScript to PHP. Is there a way to do this / does anyone know how?

Thanks!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

php cannot access the plugin information of a visitor directly, the data must be passed by the browser.. Javascript would be the way to check.. Course, if you use the right settings in your <object>/<embed> it shouldn't matter all that much, as they should be prompted to update, if they don't have it.
Post Reply