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 Quote Link to comment 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 Quote Link to comment 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! Quote Link to comment 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 Quote Link to comment 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.