note 10769 added to get_browser
| From: | harbater at teamgenesis dot com | Date: | Sun, 21 Jan 2001 16:43:20 +0000 |
| Subject: | note 10769 added to get_browser | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-10036@lists.php.net to get a copy of this message | ||
The above comment does not always work. The only foolproof method I have found for testing for
Netscape is to test for not IE. For example:
if (!strstr(getenv('HTTP_USER_AGENT'), 'MSIE'))
http://www.php.net/manual/en/function.get-browser.php