Isn't this best done in Javascript?  The USER_AGENT is client-settable,
so it would be hard to make a true inference of the device in PHP code. 

Regards,
Bill Karwin

> -----Original Message-----
> From: Aaron D. Campbell [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, August 07, 2007 12:21 PM
> To: [email protected]
> Subject: Re: [fw-general] Browser / device detection
> 
> I do some of this in my current applications. Not so much to 
> tell what browser a user is using, but to see if they are on 
> a PDA/Cell Phone (for which I serve a different, lighter, 
> version of the site...which I plan to do with alternate views 
> when we re-write in ZF). Is there currently any sort of 
> proposal or issue for people to comment on?
> 
> batoon wrote:
> > I think this is useful tool and it can be integrated into Zend 
> > Framework. I am already thinking of implementing this in Zend 
> > Framework. All who want to help join :)
> >   
> 

Reply via email to