pascal_22 Posted September 16, 2013 Share Posted September 16, 2013 Hello Everyone, On my website, users can upload their picture. I have one made in Flash, one with jquery and another with traditional form, The default page for uploading photo is the one made in Flash.... so the problem is some mobile device doesnt support flash... is there a way, in php to detect if the user is from mobile? So is the user is from mobile, i'll redirect to the good one.. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/282192-detecting-if-user-is-from-mobile-or-not/ Share on other sites More sharing options...
cataiin Posted September 16, 2013 Share Posted September 16, 2013 http://mobiledetect.net/ Quote Link to comment https://forums.phpfreaks.com/topic/282192-detecting-if-user-is-from-mobile-or-not/#findComment-1449726 Share on other sites More sharing options...
vinny42 Posted September 16, 2013 Share Posted September 16, 2013 Make sure that you differentiate between a mobile and a tablet, some crappy detectors (even youtube sometimes) think that my samsung tablet is a phone and refuse to show the normal website. Quote Link to comment https://forums.phpfreaks.com/topic/282192-detecting-if-user-is-from-mobile-or-not/#findComment-1449727 Share on other sites More sharing options...
pascal_22 Posted September 17, 2013 Author Share Posted September 17, 2013 Ok perfect!! i'll check that! I appreciate have a great day! Pascal Quote Link to comment https://forums.phpfreaks.com/topic/282192-detecting-if-user-is-from-mobile-or-not/#findComment-1449848 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.