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 Link to comment https://forums.phpfreaks.com/topic/180084-ppc-and-smartphone-friendly-webpages/ 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. Link to comment https://forums.phpfreaks.com/topic/180084-ppc-and-smartphone-friendly-webpages/#findComment-950057 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.