[mimp] Fwd: Re: Detecting Mobile browsers

Jan Schneider jan at horde.org
Tue Feb 7 04:10:56 PST 2006



----- Weitergeleitete Nachricht von james at lovedthanlost.net -----
      Datum: Tue, 07 Feb 2006 23:00:24 +1100
        Von: James Turnbull <james at lovedthanlost.net>
Antwort an: james at lovedthanlost.net
    Betreff: Re: [mimp] Detecting Mobile browsers
         An: Jan Schneider <jan at horde.org>

Jan Schneider wrote:
>
> framework/Browser/Browser.php, or lib/Horde/Browser.php, depending on
> how you installed Horde.
>
Thanks Jan.  I found that and this line:

if (preg_match('/; (120x160|240x240|240x280|240x320|320x320)\)/',
$this->_agent))

I added the 240x240 in myself but the user agent is still not matched.
The user agent is:

Mozilla/4.0 (compatible; MSIE 4.01; Windows CE; PPC; 240x240; HP iPAQ
hw6500)"

Thanks

James Turnbull




----- Ende der weitergeleiteten Nachricht -----


Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/


More information about the mimp mailing list