note 70260 deleted from function.get-browser by bjori
| From: | bjori@php.net | Date: | Mon, 09 Oct 2006 10:58:42 +0000 |
| Subject: | note 70260 deleted from function.get-browser by bjori | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-118251@lists.php.net to get a copy of this message | ||
Note Submitter: info at apotheeksoftware dot com
----
@znupi69:
$sig = strToLower ($_SERVER['HTTP_USER_AGENT'])
gives a problem in the 'pos' if-test for the first occurrence.
work-around:
$sig = " " . strToLower ($_SERVER['HTTP_USER_AGENT'])