coldfiretech Posted September 9, 2008 Share Posted September 9, 2008 Trying to figure how i would go about detecting if someone was trying to view my phone from a blackberry device. That way i can redirect them to a different page that was more suiteable for blackberrry viewing? Anyone know how this is to be done please let me know! -Matt Link to comment https://forums.phpfreaks.com/topic/123518-browser-detection/ Share on other sites More sharing options...
lisa71283 Posted September 9, 2008 Share Posted September 9, 2008 Here are some popular user agent strings for mobile browsers. If "BlackBerry" is present in the client's user agent, you can assume it is a BlackBerry, and render your page accordingly. http://www.zytrax.com/tech/web/mobile_ids.html Link to comment https://forums.phpfreaks.com/topic/123518-browser-detection/#findComment-637878 Share on other sites More sharing options...
coldfiretech Posted September 9, 2008 Author Share Posted September 9, 2008 could you show me an example? -n00bie thanks! Link to comment https://forums.phpfreaks.com/topic/123518-browser-detection/#findComment-637932 Share on other sites More sharing options...
BlueSkyIS Posted September 9, 2008 Share Posted September 9, 2008 http://www.phpfreaks.com/forums/index.php/topic,215687.0.html Link to comment https://forums.phpfreaks.com/topic/123518-browser-detection/#findComment-637935 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.