Dragen Posted June 15, 2007 Share Posted June 15, 2007 Hi, I'm currently researching the use of flash in web pages and realise that many portable devices such as mobile phones or pdas can't run flash. Is there a way of checking if they're on a mobile device or if flash is disabled using php? I've looked into it and it seems like it's only possible to check if flash is disabled using javascript and even then it's highly unreliable. Any help would be appreciated.. even just some links to some sites that's help. Thanks Link to comment https://forums.phpfreaks.com/topic/55700-solved-check-if-user-is-on-mobile-device-or-if-flash-is-disabled/ Share on other sites More sharing options...
Dragen Posted June 29, 2007 Author Share Posted June 29, 2007 anyone? Link to comment https://forums.phpfreaks.com/topic/55700-solved-check-if-user-is-on-mobile-device-or-if-flash-is-disabled/#findComment-285732 Share on other sites More sharing options...
Dragen Posted June 30, 2007 Author Share Posted June 30, 2007 any ideas? Link to comment https://forums.phpfreaks.com/topic/55700-solved-check-if-user-is-on-mobile-device-or-if-flash-is-disabled/#findComment-286854 Share on other sites More sharing options...
corbin Posted June 30, 2007 Share Posted June 30, 2007 As far as PHP goes, some clients send that flash is enabled in their headers, but some do not, so unfortunately PHP is very unreliable for Flash sensing. JS isn't a very good alternative method either because someone with out Flash is more likely to not have JS enabled than someone with out Flash (or atleast that's what I think ;p). If you're that worried about it, I suggest just not using Flash, but I personally would just take the loss of users unless it was like a bunch of people. Link to comment https://forums.phpfreaks.com/topic/55700-solved-check-if-user-is-on-mobile-device-or-if-flash-is-disabled/#findComment-286856 Share on other sites More sharing options...
Dragen Posted June 30, 2007 Author Share Posted June 30, 2007 yeah, that's pretty much what I thought.. You'd think that with so many sites using flash now, that all browsers would send mime headers to say whether they support it or not. I'll probably have a splash screen asking which version to view.. flash or html. Thanks Link to comment https://forums.phpfreaks.com/topic/55700-solved-check-if-user-is-on-mobile-device-or-if-flash-is-disabled/#findComment-286861 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.