Jump to content

ppc and smartphone friendly webpages


ted_chou12

Recommended Posts

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.