[mimp] Detecting Mobile browsers

Chuck Hagenbuch chuck at horde.org
Tue Feb 7 20:26:55 PST 2006


Quoting James Turnbull <james at lovedthanlost.net>:

> Sorry Jan I thought I had replied all to the group also.  I edited the
> line above to add the 240x240 screen size in but Horde still thinks the
> device is a normal browser.
>
> The user agent is:
>
> Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x240; HP iPAQ
>  > hw6500)
>
> Any ideas?

Probably isn't inside that if case. You can manually feed that browser  
string to match() and figure out which path it's taking.

-chuck

-- 
"So we're talking near-sonic speeds for a vegetable."
Reasons to go to the Punkin Chunkin World Championships


More information about the mimp mailing list