Re: Headers on smart phone browsers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Feb 06, 2012 at 04:04:28PM -0500, Adam Richardson wrote:

>    On Mon, Feb 6, 2012 at 3:50 PM, Adam Richardson <[1]simpleshot@xxxxxxxxx>
>    wrote:
> 
>      On Mon, Feb 6, 2012 at 12:58 AM, Paul M Foster
>      <[2]paulf@xxxxxxxxxxxxxxxxx> wrote:
> 
>        This is sort of obliquely related to PHP.
> 
>        I don't have a smart phone, but I need to know a couple of things:
> 
>        1) Do smart phones use the same browsers as the desktop, or do they
>        have
>        their own stripped down versions of browsers?
> 
>      Both, although more and more smart phones join the ranks of the
>      desktop-quality browser every day (iPhone and Android both have very
>      capable browsers, with the iPhone's omission of flash support being the
>      biggest difference between these two.)
>
> 
>        2) When a browser broadcasts its header telling the server what kind
>        of
>        browser is involved, do they broadcast anything in the header to
>        indicate that they're being run on a smart phone?
> 
>      Yes, but that gets complicated quickly:
>      [3]http://www.zytrax.com/tech/web/mobile_ids.html
>

This gets directly at the answer, but also proves that there's no
practical way of using the information. There are simply too many
variations, and more to come. Great reference. I didn't find it in my
prior research on Google.

> 
>        3) Bonus question: Is there a preferred method amongst coders to
>        determine what type of environment is being browsed from, so as to
>        serve
>        up the proper type of page (desktop or smart phone version of a
>        webpage)?
> 
>      To supplement the alistapart link already mentioned, here's another
>      recent writeup:
>      [4]http://dev.opera.com/articles/view/how-to-serve-the-right-content-to-mobile/
> 
>    Apologies, I sent the wrong link last time:
>    [5]http://dev.opera.com/articles/view/the-mobile-web-optimization-guide/
>    Adam

Thanks,

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux