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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.