note 104848 modified in function.get-browser by danbrown
| From: | danbrown@php.net | Date: | Wed, 13 Jul 2011 19:17:21 +0000 |
| Subject: | note 104848 modified in function.get-browser by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-181486@lists.php.net to get a copy of this message | ||
For those of you using this function to target MSIE, a better idea maybe to use MSIE specific
conditional comments. More info: <http://msdn.microsoft.com/en-us/library/ms537512%28VS.85%29.aspx>.
For example to indicate your disregard for users of MSIE 6 or earlier:
<!--[if lt IE 7]>It appears that you are using a <em>very</em> old version of MS
Internet Explorer (MSIE). If you seriously want to continue to use MSIE, at least <a
href="http://www.microsoft.com/windows/internet-explorer/">upgrade</a>.<![endif]-->
--was--
For those of you using this function to target MSIE, a better idea maybe to use MSIE specific
conditional comments. More info: <http://msdn.microsoft.com/en-us/library/ms537512%28VS.85%29.aspx>
and <http://www.quirksmode.org/css/condcom.html>.
For example to indicate your disregard for users of MSIE 6 or earlier:
<!--[if lt IE 7]>It appears that you are using a <em>very</em> old version of MS
Internet Explorer (MSIE). If you seriously want to continue to use MSIE, at least <a
href="http://www.microsoft.com/windows/internet-explorer/">upgrade</a>.<![endif]-->
http://php.net/manual/en/function.get-browser.php