Fwd: Re: Detecting Mobile browsers

Jan Schneider <[email protected]> Tue, 07 Feb 2006 13:10:56 +0100
Newsgroups gmane.comp.horde.mimp
Message-ID <[email protected]>

----- Weitergeleitete Nachricht von [email protected] -----
      Datum: Tue, 07 Feb 2006 23:00:24 +1100
        Von: James Turnbull <[email protected]>
Antwort an: [email protected]
    Betreff: Re: [mimp] Detecting Mobile browsers
         An: Jan Schneider <[email protected]>

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/
-- 
mimp mailing list - Join the hunt: http://horde.org/bounties/#mimp
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]