Re: Headers on smart phone browsers

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

 



Ashley Sheridan wrote:
[snip]
Keeping a PHP angle to this, have you looked at using an up-to-date
browscap.ini file with PHP? Basically, you can use that to read in the
raw user agent string from the browser, and it then finds a matching
entry in the ini file and gives you back some values about what it can
assume about that device, such as whether it is known to support Java
(although this is something you should be careful of, as it only tells
you if it's is supported, not if there is an available JVM), if it is a
mobile or search bot, what version of CSS it should support, etc. I use
it myself in a personal web stats script, and as long as you keep the
copy of the ini file recent, you should be OK.


Interesting, I will check that out.

Donovan




--
D Brooke

--
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