note 42217 added to function.get-browser

From: Date: Sat, 08 May 2004 11:29:49 +0000
Subject: note 42217 added to function.get-browser
Groups: php.notes 
Request: Send a blank email to php-notes+get-69339@lists.php.net to get a copy of this message
When I just installed apache on Linux and wanted to enable browscap.ini-support, I experienced the following: get_browser() did not work though, so I checked php.ini, but the browscap = -setting was correct. error_log said: PHP: Error parsing /etc/extra/browscap.ini on line 521 The line said "browser=Yahoo! Slurp" After trying a few things, "browser=Yahoo-Slurp" did the trick. I know that this changes the browser-name returned, but otherwise it would not have worked :/. I guess it was the '!' which produced this error 'cause removing the whitespace didn't help it. Hope this helps anyone. Greetz ---- Manual Page -- http://www.php.net/manual/en/function.get-browser.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+42217 Delete -- http://master.php.net/manage/user-notes.php?action=delete+42217&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+42217&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#69339) next »