Re: [nyphp-talk] Browser detection

2013-06-12 Thread Federico Ulfo
yes, browser, apps, spider, mailer... you'll be surprise of how many user agents exist, here there are listed just a few: http://useragentstring.com/pages/useragentstring.php browser detection is unreliable to identify one specific user agent in the access_log, but makes sense when you have big da

Re: [nyphp-talk] Browser detection

2013-06-12 Thread Chris Snyder
On Wed, Jun 12, 2013 at 12:48 PM, Federico Ulfo 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 s

Re: [nyphp-talk] Browser detection

2013-06-12 Thread Ajai Khattri
On Sun, 9 Jun 2013, Peter Sawczynec wrote: > It is definitely time to be using Responsive Grid (as there are just too > many platforms and device screen sizes to go custom on all of them) and then > theoretically one would not need browser detection. But if you still have a > separate mobile versi

Re: [nyphp-talk] Browser detection

2013-06-12 Thread Federico Ulfo
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. On Sun, Jun 9, 2013