note 33211 added to function.get-browser
| From: | claus dot bruun at rack1 dot php dot net | Date: | Thu, 19 Jun 2003 10:58:19 +0000 |
| Subject: | note 33211 added to function.get-browser | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-50633@lists.php.net to get a copy of this message | ||
The above snippet will always set NW_IS_GEN3 to true.
This might work:
define("NW_IS_GEN3", (NW_IS_NN < 4 && NW_IS_NN > 0) ||
(NW_IS_OPERA < 4 && NW_IS_OPERA > 0) ||
(NW_IS_IE < 4 && NW_IS_IE > 0) ||
(NW_MOZ_VERSION < 4 && NW_MOZ_VERSION > 0));
----
Manual Page -- http://www.php.net/manual/en/function.get-browser.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+33211
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+33211&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+33211&report=yes