xProteuSx Posted November 10, 2011 Share Posted November 10, 2011 I was wondering if there was any code that would recognize whether a mobile device is browsing a website? Link to comment https://forums.phpfreaks.com/topic/250907-recognize-a-mobile-device/ Share on other sites More sharing options...
maccy93 Posted November 10, 2011 Share Posted November 10, 2011 http://www.google.co.uk/search?gcx=c&sourceid=chrome&ie=UTF-8&q=php+check+mobile+browser You can check the browser the client is viewing you site from Link to comment https://forums.phpfreaks.com/topic/250907-recognize-a-mobile-device/#findComment-1287227 Share on other sites More sharing options...
xProteuSx Posted November 12, 2011 Author Share Posted November 12, 2011 Yeah, I wanted something that would recognize the iPhone, iPad, as well. http://detectmobilebrowsers.com/ <-- NO WORKY http://stackoverflow.com/questions/1005153/auto-detect-mobile-browser-via-user-agent <-- NO WORKY http://www.russellbeattie.com/blog/mobile-browser-detection-in-php <-- NO WORKY http://mobiforge.com/developing/story/lightweight-device-detection-php <-- NO WORKY etc ... etc ... Believe me, I couldn't find a single script that did both things. I'm confident there is one somewhere out there but I have yet to find it. Link to comment https://forums.phpfreaks.com/topic/250907-recognize-a-mobile-device/#findComment-1287547 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.