ted_chou12 Posted November 3, 2009 Share Posted November 3, 2009 Hi, I was wondering how I can detect the browser to see whether if or not the machine is a pocket pc or smartphone thus to display the page otherwise. I tried searching it in Google, but the first results don't seem to be very relavent at all. I am thinking to catch it by useragents php curl useragent function or something, but i searched for ppc useragent strings, there are tonnes of them, so i don't think that this is a very effective way, as well as that, there doesn't seem to be a generic term at all. And wat if the browser includes some random string thats called "ppc" or "smartphone" on the computer, it would probably look weird. So I am wondering if there are other approaches with higher accuracy and more efficiency. Thanks, Ted Quote Link to comment Share on other sites More sharing options...
trq Posted November 3, 2009 Share Posted November 3, 2009 If your page validates and uses decent css design it should be fine in most browsers these days. 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.