NYCPHP Meetup

NYPHP.org

[nycphp-talk] Browser detection

Chris Snyder chsnyder at gmail.com
Wed Jun 12 15:50:13 EDT 2013


On Wed, Jun 12, 2013 at 12:48 PM, Federico Ulfo <rainelemental at gmail.com>wrote:

> Hey Peter, because email clients don't allow javascript I had to implement
> the browser detection in PHP. Perhaps looks like your detection is done on
> the useragent string, so I believe your client solution is equivalent to
> any server solution.
>
> Anyway thanks for sharing this.
>
>

Email clients also don't send user-agent strings, do they?

Or I guess maybe they do for images, if they happen to be set to load
images from external sites. Is that what you're doing? Can you actually
tell if someone loads an image in Outlook versus Internet Explorer? Just
curious.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nyphp.org/pipermail/talk/attachments/20130612/6d40577a/attachment.html>


More information about the talk mailing list