PDA

View Full Version : Detecting Flash With PHP



KainNation
June 24th, 2006, 09:11 PM
In my php index script I use headers to send the user to the main page. Works fine. I'd like to add to that and if a user has flash direct them to the flash site theme and if not direct them to an AJAX or HTML theme. How would I go about detecting flash using PHP?

Thanks,

Kain

bwh2
June 25th, 2006, 02:14 AM
you're not going to use php to do it, but rather javascript: http://www.kirupa.com/developer/mx/detection.htm